home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CDEF_130_QT Scroll.txt < prev    next >
Text File  |  1995-09-30  |  96KB  |  1,743 lines

  1. start:
  2. 00000000  4E56 FFC0                link       A6, -0x0040
  3. 00000004  42AE FFCA                clr.l      [A6 - 0x36]
  4. 00000008  6000 0084                bra        +0x86 /* 0000008E */
  5. 0000000C  5154                     subq.w     [A4], 8
  6. 0000000E  2053                     movea.l    A0, [A3]
  7. 00000010  6372                     bls        +0x74 /* 00000084 */
  8. 00000012  6F6C                     ble        +0x6E /* 00000080 */
  9. 00000014  6C20                     bge        +0x22 /* 00000036 */
  10. 00000016  7631                     moveq.l    D3, 0x31
  11. 00000018  2E30 2066                move.l     D7, [A0 + D2.w + 0x66]
  12. 0000001C  6F72                     ble        +0x74 /* 00000090 */
  13. 0000001E  2051                     movea.l    A0, [A1]
  14. 00000020  7569                     moveq.l    D2, 0x69
  15. 00000022  636B                     bls        +0x6D /* 0000008F */
  16. 00000024  4865                     pea.l      -[A5]
  17. 00000026  6C70                     bge        +0x72 /* 00000098 */
  18. 00000028  AA2F                     syscall    NewGDevice
  19. 0000002A  5175 6963 6B56 6965 77AA subq.w     [[A5 + 0x6B56] + 0x696577AA], 8
  20. 00000034  2062                     movea.l    A0, -[A2]
  21. label00000036:
  22. 00000036  7920                     moveq.l    D4, 0x20
  23. 00000038  4A6F 7264                tst.w      [A7 + 0x7264]
  24. 0000003C  616E                     bsr        +0x70 /* 000000AC */
  25. 0000003E  205A                     movea.l    A0, [A2]+
  26. 00000040  696D                     bvs        +0x6F /* 000000AF */
  27. 00000042  6D65                     blt        +0x67 /* 000000A9 */
  28. 00000044  726D                     moveq.l    D1, 0x6D
  29. 00000046  616E                     bsr        +0x70 /* 000000B6 */
  30. 00000048  20A5                     move.l     [A0], -[A5]
  31. 0000004A  2028 6329                move.l     D0, [A0 + 0x6329]
  32. 0000004E  3139 3933 2C39           move.w     -[A0], [0x39332C39]
  33. 00000054  3420                     move.w     D2, -[A0]
  34. 00000056  6279                     bhi        +0x7B /* 000000D1 */
  35. 00000058  2041                     movea.l    A0, D1
  36. 0000005A  6C74                     bge        +0x76 /* 000000D0 */
  37. 0000005C  7572                     moveq.l    D2, 0x72
  38. 0000005E  6120                     bsr        +0x22 /* 00000080 */
  39. 00000060  536F 6674                subq.w     [A7 + 0x6674], 1
  40. 00000064  7761                     moveq.l    D3, 0x61
  41. 00000066  7265                     moveq.l    D1, 0x65
  42. 00000068  2C20                     move.l     D6, -[A0]
  43. 0000006A  496E 632E                chk.w      D4, [A6 + 0x632E]
  44. 0000006E  2020                     move.l     D0, -[A0]
  45. 00000070  416C 6C20                chk.w      D0, [A4 + 0x6C20]
  46. 00000074  7269                     moveq.l    D1, 0x69
  47. 00000076  6768                     beq        +0x6A /* 000000E0 */
  48. 00000078  7473                     moveq.l    D2, 0x73
  49. 0000007A  2072 6573 6572 7665 6420 776F movea.l    A0, [[A2 + 0x65727665] + 0x6420776F]
  50. // begin alternate branch 00000080-00000084
  51. fn00000080:
  52. 00000080  7665                     moveq.l    D3, 0x65
  53. 00000082  6420                     bcc        +0x22 /* 000000A4 */
  54. // end alternate branch 00000080-00000084
  55. // begin alternate branch 00000084-00000086
  56. label00000084:
  57. 00000084  776F                     moveq.l    D3, 0x6F
  58. // end alternate branch 00000084-00000086
  59. fn00000080: // (misaligned)
  60. label00000084: // (misaligned)
  61. 00000086  726C                     moveq.l    D1, 0x6C
  62. 00000088  6477                     bcc        +0x79 /* 00000101 */
  63. 0000008A  6964                     bvs        +0x66 /* 000000F0 */
  64. 0000008C  652E                     bcs        +0x30 /* 000000BC */
  65. label0000008E:
  66. 0000008E  42A7                     clr.l      -[A7]
  67. label00000090:
  68. 00000090  A8D8                     syscall    NewRgn
  69. 00000092  2D5F FFD6                move.l     [A6 - 0x2A], [A7]+
  70. 00000096  6608                     bne        +0xA /* 000000A0 */
  71. label00000098:
  72. 00000098  42AE 0014                clr.l      [A6 + 0x14]
  73. 0000009C  6000 0220                bra        +0x222 /* 000002BE */
  74. label000000A0:
  75. 000000A0  42A7                     clr.l      -[A7]
  76. 000000A2  A8D8                     syscall    NewRgn
  77. label000000A4:
  78. 000000A4  2D5F FFDA                move.l     [A6 - 0x26], [A7]+
  79. 000000A8  660E                     bne        +0x10 /* 000000B8 */
  80. 000000AA  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  81. // begin alternate branch 000000AC-000000AE
  82. fn000000AC:
  83. 000000AC  FFD6                     .extension 0xFD6 // unimplemented
  84. // end alternate branch 000000AC-000000AE
  85. fn000000AC: // (misaligned)
  86. 000000AE  A8D9                     syscall    DisposRgn/DisposeRgn
  87. 000000B0  42AE 0014                clr.l      [A6 + 0x14]
  88. 000000B4  6000 0208                bra        +0x20A /* 000002BE */
  89. // begin alternate branch 000000B6-000000BC
  90. fn000000B6:
  91. 000000B6  0208 486E                andi.b     A0, 0x6E /* 'n' */
  92. label000000B8: // (misaligned)
  93. 000000BA  FFCE                     .extension 0xFCE // unimplemented
  94. // end alternate branch 000000B6-000000BC
  95. fn000000B6: // (misaligned)
  96. label000000B8:
  97. 000000B8  486E FFCE                pea.l      [A6 - 0x32]
  98. label000000BC:
  99. 000000BC  A874                     syscall    GetPort
  100. 000000BE  486E FFEA                pea.l      [A6 - 0x16]
  101. 000000C2  A898                     syscall    GetPenState
  102. 000000C4  206E FFCE                movea.l    A0, [A6 - 0x32]
  103. 000000C8  3D68 0044 FFC6           move.w     [A6 - 0x3A], [A0 + 0x44]
  104. 000000CE  3D68 004A FFC4           move.w     [A6 - 0x3C], [A0 + 0x4A]
  105. // begin alternate branch 000000D0-000000D4
  106. label000000D0:
  107. 000000D0  004A FFC4                ori.w      A2, 0xFFC4
  108. // end alternate branch 000000D0-000000D4
  109. label000000D0: // (misaligned)
  110. 000000D4  7000                     moveq.l    D0, 0x00
  111. 000000D6  1028 0046                move.b     D0, [A0 + 0x46]
  112. 000000DA  3D40 FFC2                move.w     [A6 - 0x3E], D0
  113. 000000DE  3D68 0048 FFC0           move.w     [A6 - 0x40], [A0 + 0x48]
  114. // begin alternate branch 000000E0-000000E4
  115. label000000E0:
  116. 000000E0  0048 FFC0                ori.w      A0, 0xFFC0
  117. // end alternate branch 000000E0-000000E4
  118. label000000E0: // (misaligned)
  119. 000000E4  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  120. 000000EA  57C1                     seq        D1
  121. 000000EC  4401                     neg.b      D1
  122. 000000EE  4881                     ext.w      D1
  123. label000000F0:
  124. 000000F0  3D41 FFC8                move.w     [A6 - 0x38], D1
  125. 000000F4  670C                     beq        +0xE /* 00000102 */
  126. 000000F6  486E FFE4                pea.l      [A6 - 0x1C]
  127. 000000FA  AA19                     syscall    GetForeColor
  128. 000000FC  486E FFDE                pea.l      [A6 - 0x22]
  129. 00000100  AA1A                     syscall    GetBackColor
  130. label00000102:
  131. 00000102  4878 0021                push.l     0x21 /* '!' */
  132. 00000106  A862                     syscall    ForeColor
  133. 00000108  4878 001E                push.l     0x1E
  134. 0000010C  A863                     syscall    BackColor
  135. 0000010E  4267                     clr.w      -[A7]
  136. 00000110  A887                     syscall    TextFont
  137. 00000112  3F3C 000C                move.w     -[A7], 0xC
  138. 00000116  A88A                     syscall    TextSize
  139. 00000118  4267                     clr.w      -[A7]
  140. 0000011A  A888                     syscall    TextFace
  141. 0000011C  3F3C 0001                move.w     -[A7], 0x1
  142. 00000120  A889                     syscall    TextMode
  143. 00000122  A89E                     syscall    PenNormal
  144. 00000124  206E 000E                movea.l    A0, [A6 + 0xE]
  145. 00000128  A029                     syscall    HLock
  146. 0000012A  206E 000E                movea.l    A0, [A6 + 0xE]
  147. 0000012E  2D50 FFD2                move.l     [A6 - 0x2E], [A0]
  148. 00000132  2F2E FFDA                move.l     -[A7], [A6 - 0x26]
  149. 00000136  A87A                     syscall    GetClip
  150. 00000138  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  151. 0000013C  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  152. 00000140  4EBA 020C                jsr        [PC + 0x20C /* 0000034E */]
  153. 00000144  508F                     addq.l     A7, 8
  154. 00000146  2F2E FFDA                move.l     -[A7], [A6 - 0x26]
  155. 0000014A  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  156. 0000014E  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  157. 00000152  A8E4                     syscall    SectRgn
  158. 00000154  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  159. 00000158  A879                     syscall    SetClip
  160. 0000015A  302E 000C                move.w     D0, [A6 + 0xC]
  161. 0000015E  0C40 000B                cmpi.w     D0, 0xB
  162. 00000162  6200 010C                bhi        +0x10E /* 00000270 */
  163. 00000166  43FA 0160                lea.l      A1, [PC + 0x160 /* 000002C8, value 0xFF44FF76 */]
  164. 0000016A  D040                     add.w      D0, D0
  165. 0000016C  D2F1 0000                add.w      A1, [A1 + D0.w]
  166. 00000170  4ED1                     jmp        [A1]
  167. 00000172  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  168. 00000176  4EBA 0168                jsr        [PC + 0x168 /* 000002E0 */]
  169. 0000017A  588F                     addq.l     A7, 4
  170. 0000017C  6000 00F2                bra        +0xF4 /* 00000270 */
  171. 00000180  206E FFD2                movea.l    A0, [A6 - 0x2E]
  172. 00000184  4AA8 001C                tst.l      [A0 + 0x1C]
  173. 00000188  6700 00E6                beq        +0xE8 /* 00000270 */
  174. 0000018C  206E FFD2                movea.l    A0, [A6 - 0x2E]
  175. 00000190  2068 001C                movea.l    A0, [A0 + 0x1C]
  176. 00000194  A023                     syscall    DisposHandle/DisposeHandle
  177. 00000196  206E FFD2                movea.l    A0, [A6 - 0x2E]
  178. 0000019A  42A8 001C                clr.l      [A0 + 0x1C]
  179. 0000019E  6000 00D0                bra        +0xD2 /* 00000270 */
  180. 000001A2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  181. 000001A6  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  182. 000001AA  4EBA 0194                jsr        [PC + 0x194 /* 00000340 */]
  183. 000001AE  508F                     addq.l     A7, 8
  184. 000001B0  7001                     moveq.l    D0, 0x01
  185. 000001B2  2D40 FFCA                move.l     [A6 - 0x36], D0
  186. 000001B6  6000 00B8                bra        +0xBA /* 00000270 */
  187. 000001BA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  188. 000001BE  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  189. 000001C2  4EBA 018A                jsr        [PC + 0x18A /* 0000034E */]
  190. 000001C6  508F                     addq.l     A7, 8
  191. 000001C8  7001                     moveq.l    D0, 0x01
  192. 000001CA  2D40 FFCA                move.l     [A6 - 0x36], D0
  193. 000001CE  6000 00A0                bra        +0xA2 /* 00000270 */
  194. 000001D2  42A7                     clr.l      -[A7]
  195. 000001D4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  196. 000001D8  4EBA 0E36                jsr        [PC + 0xE36 /* 00001010 */]
  197. 000001DC  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  198. 000001E0  202E 0008                move.l     D0, [A6 + 0x8]
  199. 000001E4  0280 0000 F000           andi.l     D0, 0xF000
  200. 000001EA  6710                     beq        +0x12 /* 000001FC */
  201. 000001EC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  202. 000001F0  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  203. 000001F4  4EBA 014A                jsr        [PC + 0x14A /* 00000340 */]
  204. 000001F8  508F                     addq.l     A7, 8
  205. 000001FA  6074                     bra        +0x76 /* 00000270 */
  206. label000001FC:
  207. 000001FC  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  208. 00000200  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  209. 00000204  4EBA 0148                jsr        [PC + 0x148 /* 0000034E */]
  210. 00000208  508F                     addq.l     A7, 8
  211. 0000020A  6064                     bra        +0x66 /* 00000270 */
  212. 0000020C  206E FFD2                movea.l    A0, [A6 - 0x2E]
  213. 00000210  4A28 0010                tst.b      [A0 + 0x10]
  214. 00000214  675A                     beq        +0x5C /* 00000270 */
  215. 00000216  4267                     clr.w      -[A7]
  216. 00000218  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  217. 0000021C  A86B                     syscall    LoWord
  218. 0000021E  0C5F 000A                cmpi.w     [A7]+, 0xA /* '\n' */
  219. 00000222  674C                     beq        +0x4E /* 00000270 */
  220. 00000224  206E FFD2                movea.l    A0, [A6 - 0x2E]
  221. 00000228  2068 0004                movea.l    A0, [A0 + 0x4]
  222. 0000022C  4A28 006E                tst.b      [A0 + 0x6E]
  223. 00000230  673E                     beq        +0x40 /* 00000270 */
  224. 00000232  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  225. 00000236  4EBA 012C                jsr        [PC + 0x12C /* 00000364 */]
  226. 0000023A  588F                     addq.l     A7, 4
  227. 0000023C  6032                     bra        +0x34 /* 00000270 */
  228. 0000023E  206E FFD2                movea.l    A0, [A6 - 0x2E]
  229. 00000242  0C28 00FE 0011           cmpi.b     [A0 + 0x11], 0xFE
  230. 00000248  6426                     bcc        +0x28 /* 00000270 */
  231. 0000024A  4227                     clr.b      -[A7]
  232. 0000024C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  233. 00000250  206E FFD2                movea.l    A0, [A6 - 0x2E]
  234. 00000254  4868 0008                pea.l      [A0 + 0x8]
  235. 00000258  A8AD                     syscall    PtInRect
  236. 0000025A  4A1F                     tst.b      [A7]+
  237. 0000025C  6712                     beq        +0x14 /* 00000270 */
  238. 0000025E  700A                     moveq.l    D0, 0x0A
  239. 00000260  2D40 FFCA                move.l     [A6 - 0x36], D0
  240. 00000264  600A                     bra        +0xC /* 00000270 */
  241. 00000266  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  242. 0000026A  4EBA 0AF2                jsr        [PC + 0xAF2 /* 00000D5E */]
  243. 0000026E  588F                     addq.l     A7, 4
  244. label00000270:
  245. 00000270  206E 000E                movea.l    A0, [A6 + 0xE]
  246. 00000274  A02A                     syscall    HUnlock
  247. 00000276  2F2E FFDA                move.l     -[A7], [A6 - 0x26]
  248. 0000027A  A879                     syscall    SetClip
  249. 0000027C  2F2E FFDA                move.l     -[A7], [A6 - 0x26]
  250. 00000280  A8D9                     syscall    DisposRgn/DisposeRgn
  251. 00000282  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  252. 00000286  A8D9                     syscall    DisposRgn/DisposeRgn
  253. 00000288  3F2E FFC6                move.w     -[A7], [A6 - 0x3A]
  254. 0000028C  A887                     syscall    TextFont
  255. 0000028E  3F2E FFC4                move.w     -[A7], [A6 - 0x3C]
  256. 00000292  A88A                     syscall    TextSize
  257. 00000294  3F2E FFC2                move.w     -[A7], [A6 - 0x3E]
  258. 00000298  A888                     syscall    TextFace
  259. 0000029A  3F2E FFC0                move.w     -[A7], [A6 - 0x40]
  260. 0000029E  A889                     syscall    TextMode
  261. 000002A0  486E FFEA                pea.l      [A6 - 0x16]
  262. 000002A4  A899                     syscall    SetPenState
  263. 000002A6  4A6E FFC8                tst.w      [A6 - 0x38]
  264. 000002AA  670C                     beq        +0xE /* 000002B8 */
  265. 000002AC  486E FFE4                pea.l      [A6 - 0x1C]
  266. 000002B0  AA14                     syscall    RGBForeColor
  267. 000002B2  486E FFDE                pea.l      [A6 - 0x22]
  268. 000002B6  AA15                     syscall    RGBBackColor
  269. label000002B8:
  270. 000002B8  2D6E FFCA 0014           move.l     [A6 + 0x14], [A6 - 0x36]
  271. label000002BE:
  272. 000002BE  4E5E                     unlink     A6
  273. 000002C0  205F                     movea.l    A0, [A7]+
  274. 000002C2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  275. 000002C6  4ED0                     jmp        [A0]
  276. 000002C8  FF44                     .extension 0xF44 // unimplemented
  277. 000002CA  FF76                     .extension 0xF76 // unimplemented
  278. 000002CC  FF0A                     .extension 0xF0A // unimplemented
  279. 000002CE  FEAA                     .extension 0xEAA // unimplemented
  280. 000002D0  FEB8                     .extension 0xEB8 // unimplemented
  281. 000002D2  FFA8                     .extension 0xFA8 // unimplemented
  282. 000002D4  FFA8                     .extension 0xFA8 // unimplemented
  283. 000002D6  FFA8                     .extension 0xFA8 // unimplemented
  284. 000002D8  FF9E                     .extension 0xF9E // unimplemented
  285. 000002DA  FFA8                     .extension 0xFA8 // unimplemented
  286. 000002DC  FEF2                     .extension 0xEF2 // unimplemented
  287. 000002DE  FEDA                     .extension 0xEDA // unimplemented
  288. fn000002E0:
  289. 000002E0  4E56 FFEC                link       A6, -0x0014
  290. 000002E4  48E7 0030                movem.l    -[A7], A2,A3
  291. 000002E8  246E 0008                movea.l    A2, [A6 + 0x8]
  292. 000002EC  47EA 0008                lea.l      A3, [A2 + 0x8]
  293. 000002F0  70FF                     moveq.l    D0, 0xFFFFFFFF
  294. 000002F2  2540 0020                move.l     [A2 + 0x20], D0
  295. 000002F6  422E FFFE                clr.b      [A6 - 0x2]
  296. 000002FA  2D53 FFF4                move.l     [A6 - 0xC], [A3]
  297. 000002FE  2D6B 0004 FFF8           move.l     [A6 - 0x8], [A3 + 0x4]
  298. 00000304  3D6A 0014 FFFC           move.w     [A6 - 0x4], [A2 + 0x14]
  299. 0000030A  3D53 FFEC                move.w     [A6 - 0x14], [A3]
  300. 0000030E  3D6B 0004 FFF0           move.w     [A6 - 0x10], [A3 + 0x4]
  301. 00000314  3D6B 0002 FFEE           move.w     [A6 - 0x12], [A3 + 0x2]
  302. 0000031A  700A                     moveq.l    D0, 0x0A
  303. 0000031C  D06E FFEE                add.w      D0, [A6 - 0x12]
  304. 00000320  3D40 FFF2                move.w     [A6 - 0xE], D0
  305. 00000324  4267                     clr.w      -[A7]
  306. 00000326  486E FFEC                pea.l      [A6 - 0x14]
  307. 0000032A  486A 001C                pea.l      [A2 + 0x1C]
  308. 0000032E  4878 0014                push.l     0x14
  309. 00000332  4EBA 0CF6                jsr        [PC + 0xCF6 /* 0000102A */]
  310. 00000336  4CEE 0C00 FFE4           movem.l    A2,A3, [A6 - 0x1C]
  311. 0000033C  4E5E                     unlink     A6
  312. 0000033E  4E75                     rts
  313. fn00000340:
  314. 00000340  4E56 0000                link       A6, 0
  315. 00000344  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  316. 00000348  A8DD                     syscall    SetEmptyRgn
  317. 0000034A  4E5E                     unlink     A6
  318. 0000034C  4E75                     rts
  319. fn0000034E:
  320. 0000034E  4E56 0000                link       A6, 0
  321. 00000352  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  322. 00000356  206E 0008                movea.l    A0, [A6 + 0x8]
  323. 0000035A  4868 0008                pea.l      [A0 + 0x8]
  324. 0000035E  A8DF                     syscall    RectRgn
  325. 00000360  4E5E                     unlink     A6
  326. 00000362  4E75                     rts
  327. fn00000364:
  328. 00000364  4E56 FF8A                link       A6, -0x0076
  329. 00000368  48E7 0730                movem.l    -[A7], D5,D6,D7,A2,A3
  330. 0000036C  246E 0008                movea.l    A2, [A6 + 0x8]
  331. 00000370  42AE FF8A                clr.l      [A6 - 0x76]
  332. 00000374  7C00                     moveq.l    D6, 0x00
  333. 00000376  7E1C                     moveq.l    D7, 0x1C
  334. 00000378  DE8A                     add.l      D7, A2
  335. 0000037A  2047                     movea.l    A0, D7
  336. 0000037C  4A90                     tst.l      [A0]
  337. 0000037E  6700 011A                beq        +0x11C /* 0000049A */
  338. 00000382  A89E                     syscall    PenNormal
  339. 00000384  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  340. 00000388  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  341. 0000038C  4EBA 05CE                jsr        [PC + 0x5CE /* 0000095C */]
  342. 00000390  3A00                     move.w     D5, D0
  343. 00000392  4A45                     tst.w      D5
  344. 00000394  508F                     addq.l     A7, 8
  345. 00000396  6704                     beq        +0x6 /* 0000039C */
  346. 00000398  7A00                     moveq.l    D5, 0x00
  347. 0000039A  601C                     bra        +0x1E /* 000003B8 */
  348. label0000039C:
  349. 0000039C  486E FFFA                pea.l      [A6 - 0x6]
  350. 000003A0  3F3C 0014                move.w     -[A7], 0x14
  351. 000003A4  4EBA 0B46                jsr        [PC + 0xB46 /* 00000EEC */]
  352. 000003A8  3A00                     move.w     D5, D0
  353. 000003AA  701E                     moveq.l    D0, 0x1E
  354. 000003AC  2E80                     move.l     [A7], D0
  355. 000003AE  A863                     syscall    BackColor
  356. 000003B0  4878 0021                push.l     0x21 /* '!' */
  357. 000003B4  A862                     syscall    ForeColor
  358. 000003B6  548F                     addq.l     A7, 2
  359. label000003B8:
  360. 000003B8  2047                     movea.l    A0, D7
  361. 000003BA  2050                     movea.l    A0, [A0]
  362. 000003BC  2650                     movea.l    A3, [A0]
  363. 000003BE  102B 0012                move.b     D0, [A3 + 0x12]
  364. 000003C2  6714                     beq        +0x16 /* 000003D8 */
  365. 000003C4  6B12                     bmi        +0x14 /* 000003D8 */
  366. 000003C6  5500                     subq.b     D0, 2
  367. 000003C8  6706                     beq        +0x8 /* 000003D0 */
  368. 000003CA  6A0C                     bpl        +0xE /* 000003D8 */
  369. 000003CC  3C05                     move.w     D6, D5
  370. 000003CE  6008                     bra        +0xA /* 000003D8 */
  371. label000003D0:
  372. 000003D0  4A45                     tst.w      D5
  373. 000003D2  57C6                     seq        D6
  374. 000003D4  4406                     neg.b      D6
  375. 000003D6  4886                     ext.w      D6
  376. label000003D8:
  377. 000003D8  4A45                     tst.w      D5
  378. 000003DA  6704                     beq        +0x6 /* 000003E0 */
  379. 000003DC  7002                     moveq.l    D0, 0x02
  380. 000003DE  6002                     bra        +0x4 /* 000003E2 */
  381. label000003E0:
  382. 000003E0  7001                     moveq.l    D0, 0x01
  383. label000003E2:
  384. 000003E2  1740 0012                move.b     [A3 + 0x12], D0
  385. 000003E6  302B 0010                move.w     D0, [A3 + 0x10]
  386. 000003EA  B06A 0012                cmp.w      D0, [A2 + 0x12]
  387. 000003EE  6610                     bne        +0x12 /* 00000400 */
  388. 000003F0  4227                     clr.b      -[A7]
  389. 000003F2  486A 0008                pea.l      [A2 + 0x8]
  390. 000003F6  486B 0008                pea.l      [A3 + 0x8]
  391. 000003FA  A8A6                     syscall    EqualRect
  392. 000003FC  4A1F                     tst.b      [A7]+
  393. 000003FE  660A                     bne        +0xC /* 0000040A */
  394. label00000400:
  395. 00000400  2F0B                     move.l     -[A7], A3
  396. 00000402  2F0A                     move.l     -[A7], A2
  397. 00000404  4EBA 080A                jsr        [PC + 0x80A /* 00000C10 */]
  398. 00000408  508F                     addq.l     A7, 8
  399. label0000040A:
  400. 0000040A  4A46                     tst.w      D6
  401. 0000040C  670A                     beq        +0xC /* 00000418 */
  402. 0000040E  486A 0008                pea.l      [A2 + 0x8]
  403. 00000412  A928                     syscall    InvalRect
  404. 00000414  6000 0084                bra        +0x86 /* 0000049A */
  405. label00000418:
  406. 00000418  4A45                     tst.w      D5
  407. 0000041A  6716                     beq        +0x18 /* 00000432 */
  408. 0000041C  486E FF8A                pea.l      [A6 - 0x76]
  409. 00000420  2F0A                     move.l     -[A7], A2
  410. 00000422  486E FF8E                pea.l      [A6 - 0x72]
  411. 00000426  4EBA 0654                jsr        [PC + 0x654 /* 00000A7C */]
  412. 0000042A  3C00                     move.w     D6, D0
  413. 0000042C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  414. 00000430  600E                     bra        +0x10 /* 00000440 */
  415. label00000432:
  416. 00000432  2F0A                     move.l     -[A7], A2
  417. 00000434  486E FF8E                pea.l      [A6 - 0x72]
  418. 00000438  4EBA 05A4                jsr        [PC + 0x5A4 /* 000009DE */]
  419. 0000043C  3C00                     move.w     D6, D0
  420. 0000043E  508F                     addq.l     A7, 8
  421. label00000440:
  422. 00000440  4A46                     tst.w      D6
  423. 00000442  6706                     beq        +0x8 /* 0000044A */
  424. 00000444  486E FF8E                pea.l      [A6 - 0x72]
  425. 00000448  A873                     syscall    SetPort
  426. label0000044A:
  427. 0000044A  2F0A                     move.l     -[A7], A2
  428. 0000044C  3F05                     move.w     -[A7], D5
  429. 0000044E  4EBA 00BA                jsr        [PC + 0xBA /* 0000050A */]
  430. 00000452  2F0A                     move.l     -[A7], A2
  431. 00000454  3F05                     move.w     -[A7], D5
  432. 00000456  4EBA 026A                jsr        [PC + 0x26A /* 000006C2 */]
  433. 0000045A  4A46                     tst.w      D6
  434. 0000045C  673C                     beq        +0x3E /* 0000049A */
  435. 0000045E  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  436. 00000462  A873                     syscall    SetPort
  437. 00000464  486E FF90                pea.l      [A6 - 0x70]
  438. 00000468  486E FF9E                pea.l      [A6 - 0x62]
  439. 0000046C  486A 0008                pea.l      [A2 + 0x8]
  440. 00000470  4267                     clr.w      -[A7]
  441. 00000472  42A7                     clr.l      -[A7]
  442. 00000474  A8EB                     syscall    StdBits
  443. 00000476  4A45                     tst.w      D5
  444. 00000478  6714                     beq        +0x16 /* 0000048E */
  445. 0000047A  486E FF8E                pea.l      [A6 - 0x72]
  446. 0000047E  A87D                     syscall    ClosePort
  447. 00000480  4AAE FF8A                tst.l      [A6 - 0x76]
  448. 00000484  6714                     beq        +0x16 /* 0000049A */
  449. 00000486  206E FF8A                movea.l    A0, [A6 - 0x76]
  450. 0000048A  A023                     syscall    DisposHandle/DisposeHandle
  451. 0000048C  600C                     bra        +0xE /* 0000049A */
  452. label0000048E:
  453. 0000048E  486E FF8E                pea.l      [A6 - 0x72]
  454. 00000492  A87D                     syscall    ClosePort
  455. 00000494  206E FF90                movea.l    A0, [A6 - 0x70]
  456. 00000498  A01F                     syscall    DisposPtr/DisposePtr
  457. label0000049A:
  458. 0000049A  4CDF 0CE0                movem.l    D5,D6,D7,A2,A3, [A7]+
  459. 0000049E  4E5E                     unlink     A6
  460. 000004A0  4E75                     rts
  461. fn000004A2:
  462. 000004A2  4E56 0000                link       A6, 0
  463. 000004A6  48E7 0300                movem.l    -[A7], D6,D7
  464. 000004AA  206E 0008                movea.l    A0, [A6 + 0x8]
  465. 000004AE  0828 0000 0001           btst.b     [A0 + 0x1], 0x0
  466. 000004B4  56C7                     sne        D7
  467. 000004B6  4407                     neg.b      D7
  468. 000004B8  4887                     ext.w      D7
  469. 000004BA  0828 0000 0003           btst.b     [A0 + 0x3], 0x0
  470. 000004C0  56C6                     sne        D6
  471. 000004C2  4406                     neg.b      D6
  472. 000004C4  4886                     ext.w      D6
  473. 000004C6  BC47                     cmp.w      D6, D7
  474. 000004C8  6618                     bne        +0x1A /* 000004E2 */
  475. 000004CA  4A6E 0010                tst.w      [A6 + 0x10]
  476. 000004CE  6708                     beq        +0xA /* 000004D8 */
  477. 000004D0  203C AA55 AA55           move.l     D0, 0xAA55AA55
  478. 000004D6  6006                     bra        +0x8 /* 000004DE */
  479. label000004D8:
  480. 000004D8  203C 55AA 55AA           move.l     D0, 0x55AA55AA
  481. label000004DE:
  482. 000004DE  2E00                     move.l     D7, D0
  483. 000004E0  6016                     bra        +0x18 /* 000004F8 */
  484. label000004E2:
  485. 000004E2  4A6E 0010                tst.w      [A6 + 0x10]
  486. 000004E6  6708                     beq        +0xA /* 000004F0 */
  487. 000004E8  203C 55AA 55AA           move.l     D0, 0x55AA55AA
  488. 000004EE  6006                     bra        +0x8 /* 000004F6 */
  489. label000004F0:
  490. 000004F0  203C AA55 AA55           move.l     D0, 0xAA55AA55
  491. label000004F6:
  492. 000004F6  2E00                     move.l     D7, D0
  493. label000004F8:
  494. 000004F8  206E 000C                movea.l    A0, [A6 + 0xC]
  495. 000004FC  2147 0004                move.l     [A0 + 0x4], D7
  496. 00000500  2087                     move.l     [A0], D7
  497. 00000502  4CDF 00C0                movem.l    D6,D7, [A7]+
  498. 00000506  4E5E                     unlink     A6
  499. 00000508  4E75                     rts
  500. fn0000050A:
  501. 0000050A  4E56 FFE4                link       A6, -0x001C
  502. 0000050E  48E7 0110                movem.l    -[A7], D7,A3
  503. 00000512  3E2E 0008                move.w     D7, [A6 + 0x8]
  504. 00000516  7008                     moveq.l    D0, 0x08
  505. 00000518  D0AE 000A                add.l      D0, [A6 + 0xA]
  506. 0000051C  2640                     movea.l    A3, D0
  507. 0000051E  2F0B                     move.l     -[A7], A3
  508. 00000520  A8A1                     syscall    FrameRect
  509. 00000522  2D53 FFE4                move.l     [A6 - 0x1C], [A3]
  510. 00000526  2D6B 0004 FFE8           move.l     [A6 - 0x18], [A3 + 0x4]
  511. 0000052C  486E FFE4                pea.l      [A6 - 0x1C]
  512. 00000530  2F3C 0001 0001           move.l     -[A7], 0x10001
  513. 00000536  A8A9                     syscall    InsetRect
  514. 00000538  206E 000A                movea.l    A0, [A6 + 0xA]
  515. 0000053C  0C28 00FE 0011           cmpi.b     [A0 + 0x11], 0xFE
  516. 00000542  6524                     bcs        +0x26 /* 00000568 */
  517. 00000544  4A47                     tst.w      D7
  518. 00000546  6716                     beq        +0x18 /* 0000055E */
  519. 00000548  303C CCCC                move.w     D0, 0xCCCC
  520. 0000054C  3D40 FFF6                move.w     [A6 - 0xA], D0
  521. 00000550  3D40 FFF4                move.w     [A6 - 0xC], D0
  522. 00000554  3D40 FFF2                move.w     [A6 - 0xE], D0
  523. 00000558  486E FFF2                pea.l      [A6 - 0xE]
  524. 0000055C  AA15                     syscall    RGBBackColor
  525. label0000055E:
  526. 0000055E  486E FFE4                pea.l      [A6 - 0x1C]
  527. 00000562  A8A3                     syscall    EraseRect
  528. 00000564  6000 0150                bra        +0x152 /* 000006B6 */
  529. label00000568:
  530. 00000568  4A47                     tst.w      D7
  531. 0000056A  6738                     beq        +0x3A /* 000005A4 */
  532. 0000056C  70FF                     moveq.l    D0, 0xFFFFFFFF
  533. 0000056E  3D40 FFF6                move.w     [A6 - 0xA], D0
  534. 00000572  3D40 FFF4                move.w     [A6 - 0xC], D0
  535. 00000576  3D40 FFF2                move.w     [A6 - 0xE], D0
  536. 0000057A  303C 7777                move.w     D0, 0x7777 /* 'ww' */
  537. 0000057E  3D40 FFF0                move.w     [A6 - 0x10], D0
  538. 00000582  3D40 FFEE                move.w     [A6 - 0x12], D0
  539. 00000586  3D40 FFEC                move.w     [A6 - 0x14], D0
  540. 0000058A  3F3C 0001                move.w     -[A7], 0x1
  541. 0000058E  486E FFEC                pea.l      [A6 - 0x14]
  542. 00000592  486E FFF2                pea.l      [A6 - 0xE]
  543. 00000596  486E FFE4                pea.l      [A6 - 0x1C]
  544. 0000059A  4EBA 033C                jsr        [PC + 0x33C /* 000008D8 */]
  545. 0000059E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  546. 000005A2  6012                     bra        +0x14 /* 000005B6 */
  547. label000005A4:
  548. 000005A4  3F3C 000B                move.w     -[A7], 0xB
  549. 000005A8  A89C                     syscall    PenMode
  550. 000005AA  486E FFE4                pea.l      [A6 - 0x1C]
  551. 000005AE  A8A1                     syscall    FrameRect
  552. 000005B0  3F3C 0008                move.w     -[A7], 0x8
  553. 000005B4  A89C                     syscall    PenMode
  554. label000005B6:
  555. 000005B6  486E FFE4                pea.l      [A6 - 0x1C]
  556. 000005BA  2F3C 0001 0001           move.l     -[A7], 0x10001
  557. 000005C0  A8A9                     syscall    InsetRect
  558. 000005C2  4A47                     tst.w      D7
  559. 000005C4  6718                     beq        +0x1A /* 000005DE */
  560. 000005C6  303C CCCC                move.w     D0, 0xCCCC
  561. 000005CA  3D40 FFF6                move.w     [A6 - 0xA], D0
  562. 000005CE  3D40 FFF4                move.w     [A6 - 0xC], D0
  563. 000005D2  3D40 FFF2                move.w     [A6 - 0xE], D0
  564. 000005D6  486E FFF2                pea.l      [A6 - 0xE]
  565. 000005DA  AA14                     syscall    RGBForeColor
  566. 000005DC  6006                     bra        +0x8 /* 000005E4 */
  567. label000005DE:
  568. 000005DE  3F3C 000B                move.w     -[A7], 0xB
  569. 000005E2  A89C                     syscall    PenMode
  570. label000005E4:
  571. 000005E4  2F3C 0002 0003           move.l     -[A7], 0x20003
  572. 000005EA  A89B                     syscall    PenSize
  573. 000005EC  486E FFE4                pea.l      [A6 - 0x1C]
  574. 000005F0  A8A1                     syscall    FrameRect
  575. 000005F2  2F3C 0001 0001           move.l     -[A7], 0x10001
  576. 000005F8  A89B                     syscall    PenSize
  577. 000005FA  3F3C 0008                move.w     -[A7], 0x8
  578. 000005FE  A89C                     syscall    PenMode
  579. 00000600  486E FFE4                pea.l      [A6 - 0x1C]
  580. 00000604  2F3C 0002 0003           move.l     -[A7], 0x20003
  581. 0000060A  A8A9                     syscall    InsetRect
  582. 0000060C  4A47                     tst.w      D7
  583. 0000060E  6714                     beq        +0x16 /* 00000624 */
  584. 00000610  486E FFF2                pea.l      [A6 - 0xE]
  585. 00000614  3F3C 0024                move.w     -[A7], 0x24 /* '$' */
  586. 00000618  4EBA 08D2                jsr        [PC + 0x8D2 /* 00000EEC */]
  587. 0000061C  486E FFF2                pea.l      [A6 - 0xE]
  588. 00000620  AA14                     syscall    RGBForeColor
  589. 00000622  5C8F                     addq.l     A7, 6
  590. label00000624:
  591. 00000624  486E FFE4                pea.l      [A6 - 0x1C]
  592. 00000628  A8A1                     syscall    FrameRect
  593. 0000062A  486E FFE4                pea.l      [A6 - 0x1C]
  594. 0000062E  2F3C 0001 0001           move.l     -[A7], 0x10001
  595. 00000634  A8A9                     syscall    InsetRect
  596. 00000636  4A47                     tst.w      D7
  597. 00000638  675E                     beq        +0x60 /* 00000698 */
  598. 0000063A  486E FFF2                pea.l      [A6 - 0xE]
  599. 0000063E  3F3C 0022                move.w     -[A7], 0x22 /* '\"' */
  600. 00000642  4EBA 08A8                jsr        [PC + 0x8A8 /* 00000EEC */]
  601. 00000646  486E FFF2                pea.l      [A6 - 0xE]
  602. 0000064A  AA14                     syscall    RGBForeColor
  603. 0000064C  3EAE FFE6                move.w     [A7], [A6 - 0x1A]
  604. 00000650  70FF                     moveq.l    D0, 0xFFFFFFFF
  605. 00000652  D06E FFE8                add.w      D0, [A6 - 0x18]
  606. 00000656  3F00                     move.w     -[A7], D0
  607. 00000658  A893                     syscall    MoveTo
  608. 0000065A  3EAE FFE6                move.w     [A7], [A6 - 0x1A]
  609. 0000065E  3F2E FFE4                move.w     -[A7], [A6 - 0x1C]
  610. 00000662  A891                     syscall    LineTo
  611. 00000664  70FF                     moveq.l    D0, 0xFFFFFFFF
  612. 00000666  D06E FFEA                add.w      D0, [A6 - 0x16]
  613. 0000066A  3E80                     move.w     [A7], D0
  614. 0000066C  3F2E FFE4                move.w     -[A7], [A6 - 0x1C]
  615. 00000670  A891                     syscall    LineTo
  616. 00000672  526E FFE6                addq.w     [A6 - 0x1A], 1
  617. 00000676  526E FFE4                addq.w     [A6 - 0x1C], 1
  618. 0000067A  303C AAAA                move.w     D0, 0xAAAA
  619. 0000067E  3D40 FFF6                move.w     [A6 - 0xA], D0
  620. 00000682  3D40 FFF4                move.w     [A6 - 0xC], D0
  621. 00000686  3D40 FFF2                move.w     [A6 - 0xE], D0
  622. 0000068A  486E FFF2                pea.l      [A6 - 0xE]
  623. 0000068E  AA14                     syscall    RGBForeColor
  624. 00000690  486E FFE4                pea.l      [A6 - 0x1C]
  625. 00000694  A8A2                     syscall    PaintRect
  626. 00000696  601E                     bra        +0x20 /* 000006B6 */
  627. label00000698:
  628. 00000698  3F3C 0001                move.w     -[A7], 0x1
  629. 0000069C  486E FFF8                pea.l      [A6 - 0x8]
  630. 000006A0  486E FFE4                pea.l      [A6 - 0x1C]
  631. 000006A4  4EBA FDFC                jsr        [PC - 0x204 /* 000004A2 */]
  632. 000006A8  486E FFE4                pea.l      [A6 - 0x1C]
  633. 000006AC  486E FFF8                pea.l      [A6 - 0x8]
  634. 000006B0  A8A5                     syscall    FillRect
  635. 000006B2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  636. label000006B6:
  637. 000006B6  4CDF 0880                movem.l    D7,A3, [A7]+
  638. 000006BA  4E5E                     unlink     A6
  639. 000006BC  205F                     movea.l    A0, [A7]+
  640. 000006BE  5C8F                     addq.l     A7, 6
  641. 000006C0  4ED0                     jmp        [A0]
  642. fn000006C2:
  643. 000006C2  4E56 FFE4                link       A6, -0x001C
  644. 000006C6  48E7 0310                movem.l    -[A7], D6,D7,A3
  645. 000006CA  266E 000A                movea.l    A3, [A6 + 0xA]
  646. 000006CE  3E2E 0008                move.w     D7, [A6 + 0x8]
  647. 000006D2  206B 001C                movea.l    A0, [A3 + 0x1C]
  648. 000006D6  2050                     movea.l    A0, [A0]
  649. 000006D8  2D50 FFE4                move.l     [A6 - 0x1C], [A0]
  650. 000006DC  2D68 0004 FFE8           move.l     [A6 - 0x18], [A0 + 0x4]
  651. 000006E2  0C2B 00FE 0011           cmpi.b     [A3 + 0x11], 0xFE
  652. 000006E8  654A                     bcs        +0x4C /* 00000734 */
  653. 000006EA  486E FFE4                pea.l      [A6 - 0x1C]
  654. 000006EE  2F3C 0002 0002           move.l     -[A7], 0x20002
  655. 000006F4  A8A9                     syscall    InsetRect
  656. 000006F6  4A47                     tst.w      D7
  657. 000006F8  6718                     beq        +0x1A /* 00000712 */
  658. 000006FA  303C 8888                move.w     D0, 0x8888
  659. 000006FE  3D40 FFF6                move.w     [A6 - 0xA], D0
  660. 00000702  3D40 FFF4                move.w     [A6 - 0xC], D0
  661. 00000706  3D40 FFF2                move.w     [A6 - 0xE], D0
  662. 0000070A  486E FFF2                pea.l      [A6 - 0xE]
  663. 0000070E  AA14                     syscall    RGBForeColor
  664. 00000710  6018                     bra        +0x1A /* 0000072A */
  665. label00000712:
  666. 00000712  4267                     clr.w      -[A7]
  667. 00000714  486E FFF8                pea.l      [A6 - 0x8]
  668. 00000718  486E FFE4                pea.l      [A6 - 0x1C]
  669. 0000071C  4EBA FD84                jsr        [PC - 0x27C /* 000004A2 */]
  670. 00000720  486E FFF8                pea.l      [A6 - 0x8]
  671. 00000724  A89D                     syscall    PenPat
  672. 00000726  4FEF 000A                lea.l      A7, [A7 + 0xA]
  673. label0000072A:
  674. 0000072A  486E FFE4                pea.l      [A6 - 0x1C]
  675. 0000072E  A8A1                     syscall    FrameRect
  676. 00000730  6000 019A                bra        +0x19C /* 000008CC */
  677. label00000734:
  678. 00000734  4A47                     tst.w      D7
  679. 00000736  6700 00BC                beq        +0xBE /* 000007F4 */
  680. 0000073A  303C 2222                move.w     D0, 0x2222 /* '\"\"' */
  681. 0000073E  3D40 FFF6                move.w     [A6 - 0xA], D0
  682. 00000742  3D40 FFF4                move.w     [A6 - 0xC], D0
  683. 00000746  3D40 FFF2                move.w     [A6 - 0xE], D0
  684. 0000074A  486E FFF2                pea.l      [A6 - 0xE]
  685. 0000074E  AA14                     syscall    RGBForeColor
  686. 00000750  3F2E FFE6                move.w     -[A7], [A6 - 0x1A]
  687. 00000754  3F2E FFE4                move.w     -[A7], [A6 - 0x1C]
  688. 00000758  A893                     syscall    MoveTo
  689. 0000075A  70FF                     moveq.l    D0, 0xFFFFFFFF
  690. 0000075C  D06E FFEA                add.w      D0, [A6 - 0x16]
  691. 00000760  3F00                     move.w     -[A7], D0
  692. 00000762  3F2E FFE4                move.w     -[A7], [A6 - 0x1C]
  693. 00000766  A891                     syscall    LineTo
  694. 00000768  3F2E FFE6                move.w     -[A7], [A6 - 0x1A]
  695. 0000076C  70FF                     moveq.l    D0, 0xFFFFFFFF
  696. 0000076E  D06E FFE8                add.w      D0, [A6 - 0x18]
  697. 00000772  3F00                     move.w     -[A7], D0
  698. 00000774  A893                     syscall    MoveTo
  699. 00000776  70FF                     moveq.l    D0, 0xFFFFFFFF
  700. 00000778  D06E FFEA                add.w      D0, [A6 - 0x16]
  701. 0000077C  3F00                     move.w     -[A7], D0
  702. 0000077E  70FF                     moveq.l    D0, 0xFFFFFFFF
  703. 00000780  D06E FFE8                add.w      D0, [A6 - 0x18]
  704. 00000784  3F00                     move.w     -[A7], D0
  705. 00000786  A891                     syscall    LineTo
  706. 00000788  303C 5555                move.w     D0, 0x5555 /* 'UU' */
  707. 0000078C  3D40 FFF6                move.w     [A6 - 0xA], D0
  708. 00000790  3D40 FFF4                move.w     [A6 - 0xC], D0
  709. 00000794  3D40 FFF2                move.w     [A6 - 0xE], D0
  710. 00000798  486E FFF2                pea.l      [A6 - 0xE]
  711. 0000079C  AA14                     syscall    RGBForeColor
  712. 0000079E  3F2E FFE6                move.w     -[A7], [A6 - 0x1A]
  713. 000007A2  7001                     moveq.l    D0, 0x01
  714. 000007A4  D06E FFE4                add.w      D0, [A6 - 0x1C]
  715. 000007A8  3F00                     move.w     -[A7], D0
  716. 000007AA  A893                     syscall    MoveTo
  717. 000007AC  3F2E FFE6                move.w     -[A7], [A6 - 0x1A]
  718. 000007B0  70FE                     moveq.l    D0, 0xFFFFFFFE
  719. 000007B2  D06E FFE8                add.w      D0, [A6 - 0x18]
  720. 000007B6  3F00                     move.w     -[A7], D0
  721. 000007B8  A891                     syscall    LineTo
  722. 000007BA  486E FFF2                pea.l      [A6 - 0xE]
  723. 000007BE  3F3C 0024                move.w     -[A7], 0x24 /* '$' */
  724. 000007C2  4EBA 0728                jsr        [PC + 0x728 /* 00000EEC */]
  725. 000007C6  486E FFF2                pea.l      [A6 - 0xE]
  726. 000007CA  AA14                     syscall    RGBForeColor
  727. 000007CC  70FF                     moveq.l    D0, 0xFFFFFFFF
  728. 000007CE  D06E FFEA                add.w      D0, [A6 - 0x16]
  729. 000007D2  3E80                     move.w     [A7], D0
  730. 000007D4  7001                     moveq.l    D0, 0x01
  731. 000007D6  D06E FFE4                add.w      D0, [A6 - 0x1C]
  732. 000007DA  3F00                     move.w     -[A7], D0
  733. 000007DC  A893                     syscall    MoveTo
  734. 000007DE  70FF                     moveq.l    D0, 0xFFFFFFFF
  735. 000007E0  D06E FFEA                add.w      D0, [A6 - 0x16]
  736. 000007E4  3E80                     move.w     [A7], D0
  737. 000007E6  70FE                     moveq.l    D0, 0xFFFFFFFE
  738. 000007E8  D06E FFE8                add.w      D0, [A6 - 0x18]
  739. 000007EC  3F00                     move.w     -[A7], D0
  740. 000007EE  A891                     syscall    LineTo
  741. 000007F0  548F                     addq.l     A7, 2
  742. 000007F2  6006                     bra        +0x8 /* 000007FA */
  743. label000007F4:
  744. 000007F4  486E FFE4                pea.l      [A6 - 0x1C]
  745. 000007F8  A8A1                     syscall    FrameRect
  746. label000007FA:
  747. 000007FA  486E FFE4                pea.l      [A6 - 0x1C]
  748. 000007FE  2F3C 0001 0001           move.l     -[A7], 0x10001
  749. 00000804  A8A9                     syscall    InsetRect
  750. 00000806  4A47                     tst.w      D7
  751. 00000808  6716                     beq        +0x18 /* 00000820 */
  752. 0000080A  486E FFF2                pea.l      [A6 - 0xE]
  753. 0000080E  3F3C 0022                move.w     -[A7], 0x22 /* '\"' */
  754. 00000812  4EBA 06D8                jsr        [PC + 0x6D8 /* 00000EEC */]
  755. 00000816  486E FFF2                pea.l      [A6 - 0xE]
  756. 0000081A  AA14                     syscall    RGBForeColor
  757. 0000081C  5C8F                     addq.l     A7, 6
  758. 0000081E  6006                     bra        +0x8 /* 00000826 */
  759. label00000820:
  760. 00000820  3F3C 000B                move.w     -[A7], 0xB
  761. 00000824  A89C                     syscall    PenMode
  762. label00000826:
  763. 00000826  486E FFE4                pea.l      [A6 - 0x1C]
  764. 0000082A  A8A1                     syscall    FrameRect
  765. 0000082C  3F3C 0008                move.w     -[A7], 0x8
  766. 00000830  A89C                     syscall    PenMode
  767. 00000832  486E FFE4                pea.l      [A6 - 0x1C]
  768. 00000836  2F3C 0001 0001           move.l     -[A7], 0x10001
  769. 0000083C  A8A9                     syscall    InsetRect
  770. 0000083E  4A47                     tst.w      D7
  771. 00000840  6734                     beq        +0x36 /* 00000876 */
  772. 00000842  486E FFF2                pea.l      [A6 - 0xE]
  773. 00000846  3F3C 0024                move.w     -[A7], 0x24 /* '$' */
  774. 0000084A  4EBA 06A0                jsr        [PC + 0x6A0 /* 00000EEC */]
  775. 0000084E  303C 5555                move.w     D0, 0x5555 /* 'UU' */
  776. 00000852  3D40 FFF0                move.w     [A6 - 0x10], D0
  777. 00000856  3D40 FFEE                move.w     [A6 - 0x12], D0
  778. 0000085A  3D40 FFEC                move.w     [A6 - 0x14], D0
  779. 0000085E  4257                     clr.w      [A7]
  780. 00000860  486E FFEC                pea.l      [A6 - 0x14]
  781. 00000864  486E FFF2                pea.l      [A6 - 0xE]
  782. 00000868  486E FFE4                pea.l      [A6 - 0x1C]
  783. 0000086C  4EBA 006A                jsr        [PC + 0x6A /* 000008D8 */]
  784. 00000870  4FEF 0012                lea.l      A7, [A7 + 0x12]
  785. 00000874  6006                     bra        +0x8 /* 0000087C */
  786. label00000876:
  787. 00000876  486E FFE4                pea.l      [A6 - 0x1C]
  788. 0000087A  A8A1                     syscall    FrameRect
  789. label0000087C:
  790. 0000087C  486E FFE4                pea.l      [A6 - 0x1C]
  791. 00000880  2F3C 0001 0001           move.l     -[A7], 0x10001
  792. 00000886  A8A9                     syscall    InsetRect
  793. 00000888  1C2B 0011                move.b     D6, [A3 + 0x11]
  794. 0000088C  4A06                     tst.b      D6
  795. 0000088E  6714                     beq        +0x16 /* 000008A4 */
  796. 00000890  0C06 00FE                cmpi.b     D6, 0xFE
  797. 00000894  640E                     bcc        +0x10 /* 000008A4 */
  798. 00000896  4878 0021                push.l     0x21 /* '!' */
  799. 0000089A  A862                     syscall    ForeColor
  800. 0000089C  486E FFE4                pea.l      [A6 - 0x1C]
  801. 000008A0  A8A2                     syscall    PaintRect
  802. 000008A2  6028                     bra        +0x2A /* 000008CC */
  803. label000008A4:
  804. 000008A4  4A47                     tst.w      D7
  805. 000008A6  671E                     beq        +0x20 /* 000008C6 */
  806. 000008A8  303C CCCC                move.w     D0, 0xCCCC
  807. 000008AC  3D40 FFF6                move.w     [A6 - 0xA], D0
  808. 000008B0  3D40 FFF4                move.w     [A6 - 0xC], D0
  809. 000008B4  3D40 FFF2                move.w     [A6 - 0xE], D0
  810. 000008B8  486E FFF2                pea.l      [A6 - 0xE]
  811. 000008BC  AA14                     syscall    RGBForeColor
  812. 000008BE  486E FFE4                pea.l      [A6 - 0x1C]
  813. 000008C2  A8A2                     syscall    PaintRect
  814. 000008C4  6006                     bra        +0x8 /* 000008CC */
  815. label000008C6:
  816. 000008C6  486E FFE4                pea.l      [A6 - 0x1C]
  817. 000008CA  A8A3                     syscall    EraseRect
  818. label000008CC:
  819. 000008CC  4CDF 08C0                movem.l    D6,D7,A3, [A7]+
  820. 000008D0  4E5E                     unlink     A6
  821. 000008D2  205F                     movea.l    A0, [A7]+
  822. 000008D4  5C8F                     addq.l     A7, 6
  823. 000008D6  4ED0                     jmp        [A0]
  824. fn000008D8:
  825. 000008D8  4E56 0000                link       A6, 0
  826. 000008DC  48E7 0330                movem.l    -[A7], D6,D7,A2,A3
  827. 000008E0  246E 0008                movea.l    A2, [A6 + 0x8]
  828. 000008E4  3E2E 0014                move.w     D7, [A6 + 0x14]
  829. 000008E8  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  830. 000008EC  AA14                     syscall    RGBForeColor
  831. 000008EE  47EA 0002                lea.l      A3, [A2 + 0x2]
  832. 000008F2  3F13                     move.w     -[A7], [A3]
  833. 000008F4  70FF                     moveq.l    D0, 0xFFFFFFFF
  834. 000008F6  D06A 0004                add.w      D0, [A2 + 0x4]
  835. 000008FA  9047                     sub.w      D0, D7
  836. 000008FC  3F00                     move.w     -[A7], D0
  837. 000008FE  A893                     syscall    MoveTo
  838. 00000900  3F13                     move.w     -[A7], [A3]
  839. 00000902  3F12                     move.w     -[A7], [A2]
  840. 00000904  A891                     syscall    LineTo
  841. 00000906  70FF                     moveq.l    D0, 0xFFFFFFFF
  842. 00000908  D06A 0006                add.w      D0, [A2 + 0x6]
  843. 0000090C  9047                     sub.w      D0, D7
  844. 0000090E  3F00                     move.w     -[A7], D0
  845. 00000910  3F12                     move.w     -[A7], [A2]
  846. 00000912  A891                     syscall    LineTo
  847. 00000914  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  848. 00000918  AA14                     syscall    RGBForeColor
  849. 0000091A  4A47                     tst.w      D7
  850. 0000091C  57C6                     seq        D6
  851. 0000091E  4406                     neg.b      D6
  852. 00000920  4886                     ext.w      D6
  853. 00000922  3013                     move.w     D0, [A3]
  854. 00000924  D046                     add.w      D0, D6
  855. 00000926  3F00                     move.w     -[A7], D0
  856. 00000928  70FF                     moveq.l    D0, 0xFFFFFFFF
  857. 0000092A  D06A 0004                add.w      D0, [A2 + 0x4]
  858. 0000092E  3F00                     move.w     -[A7], D0
  859. 00000930  A893                     syscall    MoveTo
  860. 00000932  70FF                     moveq.l    D0, 0xFFFFFFFF
  861. 00000934  D06A 0006                add.w      D0, [A2 + 0x6]
  862. 00000938  3F00                     move.w     -[A7], D0
  863. 0000093A  70FF                     moveq.l    D0, 0xFFFFFFFF
  864. 0000093C  D06A 0004                add.w      D0, [A2 + 0x4]
  865. 00000940  3F00                     move.w     -[A7], D0
  866. 00000942  A891                     syscall    LineTo
  867. 00000944  70FF                     moveq.l    D0, 0xFFFFFFFF
  868. 00000946  D06A 0006                add.w      D0, [A2 + 0x6]
  869. 0000094A  3F00                     move.w     -[A7], D0
  870. 0000094C  3012                     move.w     D0, [A2]
  871. 0000094E  D046                     add.w      D0, D6
  872. 00000950  3F00                     move.w     -[A7], D0
  873. 00000952  A891                     syscall    LineTo
  874. 00000954  4CDF 0CC0                movem.l    D6,D7,A2,A3, [A7]+
  875. 00000958  4E5E                     unlink     A6
  876. 0000095A  4E75                     rts
  877. fn0000095C:
  878. 0000095C  4E56 FFF8                link       A6, -0x0008
  879. 00000960  48E7 0030                movem.l    -[A7], A2,A3
  880. 00000964  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  881. 0000096A  6704                     beq        +0x6 /* 00000970 */
  882. 0000096C  7001                     moveq.l    D0, 0x01
  883. 0000096E  6066                     bra        +0x68 /* 000009D6 */
  884. label00000970:
  885. 00000970  486E 0008                pea.l      [A6 + 0x8]
  886. 00000974  A870                     syscall    LocalToGlobal
  887. 00000976  486E 000C                pea.l      [A6 + 0xC]
  888. 0000097A  A870                     syscall    LocalToGlobal
  889. 0000097C  42A7                     clr.l      -[A7]
  890. 0000097E  AA29                     syscall    GetDeviceList
  891. 00000980  265F                     movea.l    A3, [A7]+
  892. 00000982  604C                     bra        +0x4E /* 000009D0 */
  893. label00000984:
  894. 00000984  4227                     clr.b      -[A7]
  895. 00000986  2F0B                     move.l     -[A7], A3
  896. 00000988  3F3C 000D                move.w     -[A7], 0xD /* '\r' */
  897. 0000098C  AA2C                     syscall    TestDeviceAttribute
  898. 0000098E  4A1F                     tst.b      [A7]+
  899. 00000990  6736                     beq        +0x38 /* 000009C8 */
  900. 00000992  4227                     clr.b      -[A7]
  901. 00000994  2F0B                     move.l     -[A7], A3
  902. 00000996  3F3C 000F                move.w     -[A7], 0xF
  903. 0000099A  AA2C                     syscall    TestDeviceAttribute
  904. 0000099C  4A1F                     tst.b      [A7]+
  905. 0000099E  6728                     beq        +0x2A /* 000009C8 */
  906. 000009A0  2453                     movea.l    A2, [A3]
  907. 000009A2  206A 0016                movea.l    A0, [A2 + 0x16]
  908. 000009A6  2050                     movea.l    A0, [A0]
  909. 000009A8  0C68 0008 0020           cmpi.w     [A0 + 0x20], 0x8
  910. 000009AE  6C18                     bge        +0x1A /* 000009C8 */
  911. 000009B0  4227                     clr.b      -[A7]
  912. 000009B2  486E 0008                pea.l      [A6 + 0x8]
  913. 000009B6  486A 0022                pea.l      [A2 + 0x22]
  914. 000009BA  486E FFF8                pea.l      [A6 - 0x8]
  915. 000009BE  A8AA                     syscall    SectRect
  916. 000009C0  4A1F                     tst.b      [A7]+
  917. 000009C2  6704                     beq        +0x6 /* 000009C8 */
  918. 000009C4  7001                     moveq.l    D0, 0x01
  919. 000009C6  600E                     bra        +0x10 /* 000009D6 */
  920. label000009C8:
  921. 000009C8  42A7                     clr.l      -[A7]
  922. 000009CA  2F0B                     move.l     -[A7], A3
  923. 000009CC  AA2B                     syscall    GetNextDevice
  924. 000009CE  265F                     movea.l    A3, [A7]+
  925. label000009D0:
  926. 000009D0  200B                     move.l     D0, A3
  927. 000009D2  66B0                     bne        -0x4E /* 00000984 */
  928. 000009D4  7000                     moveq.l    D0, 0x00
  929. label000009D6:
  930. 000009D6  4CDF 0C00                movem.l    A2,A3, [A7]+
  931. 000009DA  4E5E                     unlink     A6
  932. 000009DC  4E75                     rts
  933. fn000009DE:
  934. 000009DE  4E56 FFF2                link       A6, -0x000E
  935. 000009E2  48E7 0330                movem.l    -[A7], D6,D7,A2,A3
  936. 000009E6  246E 0008                movea.l    A2, [A6 + 0x8]
  937. 000009EA  7008                     moveq.l    D0, 0x08
  938. 000009EC  D0AE 000C                add.l      D0, [A6 + 0xC]
  939. 000009F0  2640                     movea.l    A3, D0
  940. 000009F2  3E2B 0006                move.w     D7, [A3 + 0x6]
  941. 000009F6  9E6B 0002                sub.w      D7, [A3 + 0x2]
  942. 000009FA  48C7                     ext.l      D7
  943. 000009FC  3C2B 0004                move.w     D6, [A3 + 0x4]
  944. 00000A00  9C53                     sub.w      D6, [A3]
  945. 00000A02  48C6                     ext.l      D6
  946. 00000A04  2D53 FFF8                move.l     [A6 - 0x8], [A3]
  947. 00000A08  2D6B 0004 FFFC           move.l     [A6 - 0x4], [A3 + 0x4]
  948. 00000A0E  4878 0020                push.l     0x20 /* ' ' */
  949. 00000A12  2047                     movea.l    A0, D7
  950. 00000A14  4868 001F                pea.l      [A0 + 0x1F]
  951. 00000A18  4EBA 0644                jsr        [PC + 0x644 /* 0000105E */]
  952. 00000A1C  E548                     lsl        D0.w, 2
  953. 00000A1E  3D40 FFF6                move.w     [A6 - 0xA], D0
  954. 00000A22  306E FFF6                movea.w    A0, [A6 - 0xA]
  955. 00000A26  2F08                     move.l     -[A7], A0
  956. 00000A28  2F06                     move.l     -[A7], D6
  957. 00000A2A  4EBA 0626                jsr        [PC + 0x626 /* 00001052 */]
  958. 00000A2E  A31E                     syscall    NewPtrClear, flags=3
  959. 00000A30  2D48 FFF2                move.l     [A6 - 0xE], A0
  960. 00000A34  4A78 0220                tst.w      [0x00000220 /* MemErr */]
  961. 00000A38  6704                     beq        +0x6 /* 00000A3E */
  962. 00000A3A  7000                     moveq.l    D0, 0x00
  963. 00000A3C  6036                     bra        +0x38 /* 00000A74 */
  964. label00000A3E:
  965. 00000A3E  2F0A                     move.l     -[A7], A2
  966. 00000A40  A86F                     syscall    OpenPort
  967. 00000A42  2553 0010                move.l     [A2 + 0x10], [A3]
  968. 00000A46  256B 0004 0014           move.l     [A2 + 0x14], [A3 + 0x4]
  969. 00000A4C  41EA 0002                lea.l      A0, [A2 + 0x2]
  970. 00000A50  43EE FFF2                lea.l      A1, [A6 - 0xE]
  971. 00000A54  20D9                     move.l     [A0]+, [A1]+
  972. 00000A56  20D9                     move.l     [A0]+, [A1]+
  973. 00000A58  20D9                     move.l     [A0]+, [A1]+
  974. 00000A5A  30D9                     move.w     [A0]+, [A1]+
  975. 00000A5C  2F0B                     move.l     -[A7], A3
  976. 00000A5E  A87B                     syscall    ClipRect
  977. 00000A60  2F2A 0018                move.l     -[A7], [A2 + 0x18]
  978. 00000A64  2F0B                     move.l     -[A7], A3
  979. 00000A66  A8DF                     syscall    RectRgn
  980. 00000A68  206E 000C                movea.l    A0, [A6 + 0xC]
  981. 00000A6C  2F28 0004                move.l     -[A7], [A0 + 0x4]
  982. 00000A70  A873                     syscall    SetPort
  983. 00000A72  7001                     moveq.l    D0, 0x01
  984. label00000A74:
  985. 00000A74  4CDF 0CC0                movem.l    D6,D7,A2,A3, [A7]+
  986. 00000A78  4E5E                     unlink     A6
  987. 00000A7A  4E75                     rts
  988. fn00000A7C:
  989. 00000A7C  4E56 FFF8                link       A6, -0x0008
  990. 00000A80  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  991. 00000A84  2A2E 0008                move.l     D5, [A6 + 0x8]
  992. 00000A88  7008                     moveq.l    D0, 0x08
  993. 00000A8A  D0AE 000C                add.l      D0, [A6 + 0xC]
  994. 00000A8E  2640                     movea.l    A3, D0
  995. 00000A90  3E2B 0006                move.w     D7, [A3 + 0x6]
  996. 00000A94  9E6B 0002                sub.w      D7, [A3 + 0x2]
  997. 00000A98  48C7                     ext.l      D7
  998. 00000A9A  3C2B 0004                move.w     D6, [A3 + 0x4]
  999. 00000A9E  9C53                     sub.w      D6, [A3]
  1000. 00000AA0  48C6                     ext.l      D6
  1001. 00000AA2  206E 000C                movea.l    A0, [A6 + 0xC]
  1002. 00000AA6  2068 0004                movea.l    A0, [A0 + 0x4]
  1003. 00000AAA  2068 0002                movea.l    A0, [A0 + 0x2]
  1004. 00000AAE  2050                     movea.l    A0, [A0]
  1005. 00000AB0  3628 0020                move.w     D3, [A0 + 0x20]
  1006. 00000AB4  4878 0020                push.l     0x20 /* ' ' */
  1007. 00000AB8  2F07                     move.l     -[A7], D7
  1008. 00000ABA  3043                     movea.w    A0, D3
  1009. 00000ABC  2F08                     move.l     -[A7], A0
  1010. 00000ABE  4EBA 0592                jsr        [PC + 0x592 /* 00001052 */]
  1011. 00000AC2  2040                     movea.l    A0, D0
  1012. 00000AC4  4868 001F                pea.l      [A0 + 0x1F]
  1013. 00000AC8  4EBA 0594                jsr        [PC + 0x594 /* 0000105E */]
  1014. 00000ACC  E548                     lsl        D0.w, 2
  1015. 00000ACE  3800                     move.w     D4, D0
  1016. 00000AD0  3044                     movea.w    A0, D4
  1017. 00000AD2  2F08                     move.l     -[A7], A0
  1018. 00000AD4  2F06                     move.l     -[A7], D6
  1019. 00000AD6  4EBA 057A                jsr        [PC + 0x57A /* 00001052 */]
  1020. 00000ADA  A322                     syscall    NewHandleClear, flags=3
  1021. 00000ADC  226E 0010                movea.l    A1, [A6 + 0x10]
  1022. 00000AE0  2288                     move.l     [A1], A0
  1023. 00000AE2  4A78 0220                tst.w      [0x00000220 /* MemErr */]
  1024. 00000AE6  6706                     beq        +0x8 /* 00000AEE */
  1025. 00000AE8  7000                     moveq.l    D0, 0x00
  1026. 00000AEA  6000 0088                bra        +0x8A /* 00000B74 */
  1027. label00000AEE:
  1028. 00000AEE  2F05                     move.l     -[A7], D5
  1029. 00000AF0  AA00                     syscall    OpenCPort
  1030. 00000AF2  2045                     movea.l    A0, D5
  1031. 00000AF4  2153 0010                move.l     [A0 + 0x10], [A3]
  1032. 00000AF8  216B 0004 0014           move.l     [A0 + 0x14], [A3 + 0x4]
  1033. 00000AFE  2F0B                     move.l     -[A7], A3
  1034. 00000B00  A87B                     syscall    ClipRect
  1035. 00000B02  2045                     movea.l    A0, D5
  1036. 00000B04  2F28 0018                move.l     -[A7], [A0 + 0x18]
  1037. 00000B08  2F0B                     move.l     -[A7], A3
  1038. 00000B0A  A8DF                     syscall    RectRgn
  1039. 00000B0C  206E 0010                movea.l    A0, [A6 + 0x10]
  1040. 00000B10  2050                     movea.l    A0, [A0]
  1041. 00000B12  A029                     syscall    HLock
  1042. 00000B14  2045                     movea.l    A0, D5
  1043. 00000B16  2068 0002                movea.l    A0, [A0 + 0x2]
  1044. 00000B1A  2450                     movea.l    A2, [A0]
  1045. 00000B1C  206E 0010                movea.l    A0, [A6 + 0x10]
  1046. 00000B20  2050                     movea.l    A0, [A0]
  1047. 00000B22  2490                     move.l     [A2], [A0]
  1048. 00000B24  3543 0020                move.w     [A2 + 0x20], D3
  1049. 00000B28  3004                     move.w     D0, D4
  1050. 00000B2A  0040 8000                ori.w      D0, 0x8000
  1051. 00000B2E  3540 0004                move.w     [A2 + 0x4], D0
  1052. 00000B32  2553 0006                move.l     [A2 + 0x6], [A3]
  1053. 00000B36  256B 0004 000A           move.l     [A2 + 0xA], [A3 + 0x4]
  1054. 00000B3C  0C43 0008                cmpi.w     D3, 0x8
  1055. 00000B40  6F04                     ble        +0x6 /* 00000B46 */
  1056. 00000B42  7010                     moveq.l    D0, 0x10
  1057. 00000B44  6002                     bra        +0x4 /* 00000B48 */
  1058. label00000B46:
  1059. 00000B46  7000                     moveq.l    D0, 0x00
  1060. label00000B48:
  1061. 00000B48  3540 001E                move.w     [A2 + 0x1E], D0
  1062. 00000B4C  0C43 0008                cmpi.w     D3, 0x8
  1063. 00000B50  6F04                     ble        +0x6 /* 00000B56 */
  1064. 00000B52  7003                     moveq.l    D0, 0x03
  1065. 00000B54  6002                     bra        +0x4 /* 00000B58 */
  1066. label00000B56:
  1067. 00000B56  7001                     moveq.l    D0, 0x01
  1068. label00000B58:
  1069. 00000B58  3540 0022                move.w     [A2 + 0x22], D0
  1070. 00000B5C  302A 0022                move.w     D0, [A2 + 0x22]
  1071. 00000B60  C1EA 0020                muls.w     D0, [A2 + 0x20]
  1072. 00000B64  3540 0024                move.w     [A2 + 0x24], D0
  1073. 00000B68  206E 000C                movea.l    A0, [A6 + 0xC]
  1074. 00000B6C  2F28 0004                move.l     -[A7], [A0 + 0x4]
  1075. 00000B70  A873                     syscall    SetPort
  1076. 00000B72  7001                     moveq.l    D0, 0x01
  1077. label00000B74:
  1078. 00000B74  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  1079. 00000B78  4E5E                     unlink     A6
  1080. 00000B7A  4E75                     rts
  1081. fn00000B7C:
  1082. 00000B7C  4E56 0000                link       A6, 0
  1083. 00000B80  48E7 0F10                movem.l    -[A7], D4,D5,D6,D7,A3
  1084. 00000B84  7008                     moveq.l    D0, 0x08
  1085. 00000B86  D0AE 0008                add.l      D0, [A6 + 0x8]
  1086. 00000B8A  2640                     movea.l    A3, D0
  1087. 00000B8C  3E2B 0002                move.w     D7, [A3 + 0x2]
  1088. 00000B90  BE6E 000E                cmp.w      D7, [A6 + 0xE]
  1089. 00000B94  6F08                     ble        +0xA /* 00000B9E */
  1090. 00000B96  3C07                     move.w     D6, D7
  1091. 00000B98  9C6E 000E                sub.w      D6, [A6 + 0xE]
  1092. 00000B9C  6014                     bra        +0x16 /* 00000BB2 */
  1093. label00000B9E:
  1094. 00000B9E  3A2B 0006                move.w     D5, [A3 + 0x6]
  1095. 00000BA2  BA6E 000E                cmp.w      D5, [A6 + 0xE]
  1096. 00000BA6  6C08                     bge        +0xA /* 00000BB0 */
  1097. 00000BA8  3C2E 000E                move.w     D6, [A6 + 0xE]
  1098. 00000BAC  9C45                     sub.w      D6, D5
  1099. 00000BAE  6002                     bra        +0x4 /* 00000BB2 */
  1100. label00000BB0:
  1101. 00000BB0  7C00                     moveq.l    D6, 0x00
  1102. label00000BB2:
  1103. 00000BB2  3A13                     move.w     D5, [A3]
  1104. 00000BB4  BA6E 000C                cmp.w      D5, [A6 + 0xC]
  1105. 00000BB8  6F08                     ble        +0xA /* 00000BC2 */
  1106. 00000BBA  3805                     move.w     D4, D5
  1107. 00000BBC  986E 000C                sub.w      D4, [A6 + 0xC]
  1108. 00000BC0  6014                     bra        +0x16 /* 00000BD6 */
  1109. label00000BC2:
  1110. 00000BC2  3A2B 0004                move.w     D5, [A3 + 0x4]
  1111. 00000BC6  BA6E 000C                cmp.w      D5, [A6 + 0xC]
  1112. 00000BCA  6C08                     bge        +0xA /* 00000BD4 */
  1113. 00000BCC  382E 000C                move.w     D4, [A6 + 0xC]
  1114. 00000BD0  9845                     sub.w      D4, D5
  1115. 00000BD2  6002                     bra        +0x4 /* 00000BD6 */
  1116. label00000BD4:
  1117. 00000BD4  7800                     moveq.l    D4, 0x00
  1118. label00000BD6:
  1119. 00000BD6  0C46 0028                cmpi.w     D6, 0x28 /* '(' */
  1120. 00000BDA  6E06                     bgt        +0x8 /* 00000BE2 */
  1121. 00000BDC  0C44 0014                cmpi.w     D4, 0x14
  1122. 00000BE0  6F06                     ble        +0x8 /* 00000BE8 */
  1123. label00000BE2:
  1124. 00000BE2  302E 0010                move.w     D0, [A6 + 0x10]
  1125. 00000BE6  6020                     bra        +0x22 /* 00000C08 */
  1126. label00000BE8:
  1127. 00000BE8  7CFB                     moveq.l    D6, 0xFFFFFFFB
  1128. 00000BEA  DC6E 000E                add.w      D6, [A6 + 0xE]
  1129. 00000BEE  BE46                     cmp.w      D7, D6
  1130. 00000BF0  6F04                     ble        +0x6 /* 00000BF6 */
  1131. 00000BF2  3C07                     move.w     D6, D7
  1132. 00000BF4  6010                     bra        +0x12 /* 00000C06 */
  1133. label00000BF6:
  1134. 00000BF6  3A2B 0006                move.w     D5, [A3 + 0x6]
  1135. 00000BFA  700A                     moveq.l    D0, 0x0A
  1136. 00000BFC  D046                     add.w      D0, D6
  1137. 00000BFE  BA40                     cmp.w      D5, D0
  1138. 00000C00  6C04                     bge        +0x6 /* 00000C06 */
  1139. 00000C02  7CF6                     moveq.l    D6, 0xFFFFFFF6
  1140. 00000C04  DC45                     add.w      D6, D5
  1141. label00000C06:
  1142. 00000C06  3006                     move.w     D0, D6
  1143. label00000C08:
  1144. 00000C08  4CDF 08F0                movem.l    D4,D5,D6,D7,A3, [A7]+
  1145. 00000C0C  4E5E                     unlink     A6
  1146. 00000C0E  4E75                     rts
  1147. fn00000C10:
  1148. 00000C10  4E56 FFFC                link       A6, -0x0004
  1149. 00000C14  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  1150. 00000C18  2E2E 0008                move.l     D7, [A6 + 0x8]
  1151. 00000C1C  246E 000C                movea.l    A2, [A6 + 0xC]
  1152. 00000C20  2007                     move.l     D0, D7
  1153. 00000C22  5080                     addq.l     D0, 8
  1154. 00000C24  2640                     movea.l    A3, D0
  1155. 00000C26  2047                     movea.l    A0, D7
  1156. 00000C28  3568 0012 0010           move.w     [A2 + 0x10], [A0 + 0x12]
  1157. 00000C2E  2553 0008                move.l     [A2 + 0x8], [A3]
  1158. 00000C32  256B 0004 000C           move.l     [A2 + 0xC], [A3 + 0x4]
  1159. 00000C38  3C2A 0010                move.w     D6, [A2 + 0x10]
  1160. 00000C3C  2047                     movea.l    A0, D7
  1161. 00000C3E  3A28 0016                move.w     D5, [A0 + 0x16]
  1162. 00000C42  BA46                     cmp.w      D5, D6
  1163. 00000C44  660A                     bne        +0xC /* 00000C50 */
  1164. 00000C46  7CF6                     moveq.l    D6, 0xFFFFFFF6
  1165. 00000C48  DC6B 0006                add.w      D6, [A3 + 0x6]
  1166. 00000C4C  6000 0092                bra        +0x94 /* 00000CE0 */
  1167. label00000C50:
  1168. 00000C50  2047                     movea.l    A0, D7
  1169. 00000C52  3828 0014                move.w     D4, [A0 + 0x14]
  1170. 00000C56  B846                     cmp.w      D4, D6
  1171. 00000C58  6608                     bne        +0xA /* 00000C62 */
  1172. 00000C5A  3C2B 0002                move.w     D6, [A3 + 0x2]
  1173. 00000C5E  6000 0080                bra        +0x82 /* 00000CE0 */
  1174. label00000C62:
  1175. 00000C62  362B 0002                move.w     D3, [A3 + 0x2]
  1176. 00000C66  3C2B 0006                move.w     D6, [A3 + 0x6]
  1177. 00000C6A  9C43                     sub.w      D6, D3
  1178. 00000C6C  70F6                     moveq.l    D0, 0xFFFFFFF6
  1179. 00000C6E  DC40                     add.w      D6, D0
  1180. 00000C70  48C6                     ext.l      D6
  1181. 00000C72  3005                     move.w     D0, D5
  1182. 00000C74  9044                     sub.w      D0, D4
  1183. 00000C76  5240                     addq.w     D0, 1
  1184. 00000C78  3040                     movea.w    A0, D0
  1185. 00000C7A  2D48 FFFC                move.l     [A6 - 0x4], A0
  1186. 00000C7E  2F06                     move.l     -[A7], D6
  1187. 00000C80  4878 0064                push.l     0x64 /* 'd' */
  1188. 00000C84  2F08                     move.l     -[A7], A0
  1189. 00000C86  4EBA 03CA                jsr        [PC + 0x3CA /* 00001052 */]
  1190. 00000C8A  2F00                     move.l     -[A7], D0
  1191. 00000C8C  4EBA 03D0                jsr        [PC + 0x3D0 /* 0000105E */]
  1192. 00000C90  2A00                     move.l     D5, D0
  1193. 00000C92  2247                     movea.l    A1, D7
  1194. 00000C94  3C3C 03E8                move.w     D6, 0x3E8
  1195. 00000C98  CDE9 0012                muls.w     D6, [A1 + 0x12]
  1196. 00000C9C  2F05                     move.l     -[A7], D5
  1197. 00000C9E  2F06                     move.l     -[A7], D6
  1198. 00000CA0  4EBA 03BC                jsr        [PC + 0x3BC /* 0000105E */]
  1199. 00000CA4  2800                     move.l     D4, D0
  1200. 00000CA6  4878 000A                push.l     0xA /* '\n' */
  1201. 00000CAA  2F04                     move.l     -[A7], D4
  1202. 00000CAC  4EBA 03B4                jsr        [PC + 0x3B4 /* 00001062 */]
  1203. 00000CB0  5B80                     subq.l     D0, 5
  1204. 00000CB2  5EC0                     sgt        D0
  1205. 00000CB4  4400                     neg.b      D0
  1206. 00000CB6  4880                     ext.w      D0
  1207. 00000CB8  4878 000A                push.l     0xA /* '\n' */
  1208. 00000CBC  2F04                     move.l     -[A7], D4
  1209. 00000CBE  2200                     move.l     D1, D0
  1210. 00000CC0  4EBA 039C                jsr        [PC + 0x39C /* 0000105E */]
  1211. 00000CC4  C141                     exg        D0, D1
  1212. 00000CC6  D041                     add.w      D0, D1
  1213. 00000CC8  D043                     add.w      D0, D3
  1214. 00000CCA  3C00                     move.w     D6, D0
  1215. 00000CCC  7AF6                     moveq.l    D5, 0xFFFFFFF6
  1216. 00000CCE  DA6B 0006                add.w      D5, [A3 + 0x6]
  1217. 00000CD2  BA46                     cmp.w      D5, D6
  1218. 00000CD4  6C04                     bge        +0x6 /* 00000CDA */
  1219. 00000CD6  3C05                     move.w     D6, D5
  1220. 00000CD8  6006                     bra        +0x8 /* 00000CE0 */
  1221. label00000CDA:
  1222. 00000CDA  B646                     cmp.w      D3, D6
  1223. 00000CDC  6F02                     ble        +0x4 /* 00000CE0 */
  1224. 00000CDE  3C03                     move.w     D6, D3
  1225. label00000CE0:
  1226. 00000CE0  3546 0002                move.w     [A2 + 0x2], D6
  1227. 00000CE4  700A                     moveq.l    D0, 0x0A
  1228. 00000CE6  D046                     add.w      D0, D6
  1229. 00000CE8  3540 0006                move.w     [A2 + 0x6], D0
  1230. 00000CEC  3493                     move.w     [A2], [A3]
  1231. 00000CEE  356B 0004 0004           move.w     [A2 + 0x4], [A3 + 0x4]
  1232. 00000CF4  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  1233. 00000CF8  4E5E                     unlink     A6
  1234. 00000CFA  4E75                     rts
  1235. fn00000CFC:
  1236. 00000CFC  4E56 0000                link       A6, 0
  1237. 00000D00  48E7 0F30                movem.l    -[A7], D4,D5,D6,D7,A2,A3
  1238. 00000D04  246E 0008                movea.l    A2, [A6 + 0x8]
  1239. 00000D08  47EA 0008                lea.l      A3, [A2 + 0x8]
  1240. 00000D0C  3E2B 0002                move.w     D7, [A3 + 0x2]
  1241. 00000D10  3C2B 0006                move.w     D6, [A3 + 0x6]
  1242. 00000D14  9C47                     sub.w      D6, D7
  1243. 00000D16  70F6                     moveq.l    D0, 0xFFFFFFF6
  1244. 00000D18  DC40                     add.w      D6, D0
  1245. 00000D1A  48C6                     ext.l      D6
  1246. 00000D1C  3A2A 0016                move.w     D5, [A2 + 0x16]
  1247. 00000D20  9A6A 0014                sub.w      D5, [A2 + 0x14]
  1248. 00000D24  5245                     addq.w     D5, 1
  1249. 00000D26  48C5                     ext.l      D5
  1250. 00000D28  2F06                     move.l     -[A7], D6
  1251. 00000D2A  4878 0064                push.l     0x64 /* 'd' */
  1252. 00000D2E  2F05                     move.l     -[A7], D5
  1253. 00000D30  4EBA 0320                jsr        [PC + 0x320 /* 00001052 */]
  1254. 00000D34  2F00                     move.l     -[A7], D0
  1255. 00000D36  4EBA 0326                jsr        [PC + 0x326 /* 0000105E */]
  1256. 00000D3A  2800                     move.l     D4, D0
  1257. 00000D3C  4878 0064                push.l     0x64 /* 'd' */
  1258. 00000D40  2F04                     move.l     -[A7], D4
  1259. 00000D42  302E 000C                move.w     D0, [A6 + 0xC]
  1260. 00000D46  9047                     sub.w      D0, D7
  1261. 00000D48  3040                     movea.w    A0, D0
  1262. 00000D4A  2F08                     move.l     -[A7], A0
  1263. 00000D4C  4EBA 0304                jsr        [PC + 0x304 /* 00001052 */]
  1264. 00000D50  2F00                     move.l     -[A7], D0
  1265. 00000D52  4EBA 030A                jsr        [PC + 0x30A /* 0000105E */]
  1266. 00000D56  4CDF 0CF0                movem.l    D4,D5,D6,D7,A2,A3, [A7]+
  1267. 00000D5A  4E5E                     unlink     A6
  1268. 00000D5C  4E75                     rts
  1269. fn00000D5E:
  1270. 00000D5E  4E56 FFF8                link       A6, -0x0008
  1271. 00000D62  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  1272. 00000D66  266E 0008                movea.l    A3, [A6 + 0x8]
  1273. 00000D6A  7C00                     moveq.l    D6, 0x00
  1274. 00000D6C  7E1C                     moveq.l    D7, 0x1C
  1275. 00000D6E  DE8B                     add.l      D7, A3
  1276. 00000D70  2047                     movea.l    A0, D7
  1277. 00000D72  4A90                     tst.l      [A0]
  1278. 00000D74  6700 00CE                beq        +0xD0 /* 00000E44 */
  1279. 00000D78  486E FFF8                pea.l      [A6 - 0x8]
  1280. 00000D7C  A972                     syscall    GetMouse
  1281. 00000D7E  7001                     moveq.l    D0, 0x01
  1282. 00000D80  D06E FFFA                add.w      D0, [A6 - 0x6]
  1283. 00000D84  3D40 FFFE                move.w     [A6 - 0x2], D0
  1284. 00000D88  2047                     movea.l    A0, D7
  1285. 00000D8A  2050                     movea.l    A0, [A0]
  1286. 00000D8C  A029                     syscall    HLock
  1287. 00000D8E  2047                     movea.l    A0, D7
  1288. 00000D90  2050                     movea.l    A0, [A0]
  1289. 00000D92  2450                     movea.l    A2, [A0]
  1290. 00000D94  3A2A 0002                move.w     D5, [A2 + 0x2]
  1291. 00000D98  177C 000A 0011           move.b     [A3 + 0x11], 0xA /* '\n' */
  1292. 00000D9E  2F0B                     move.l     -[A7], A3
  1293. 00000DA0  4EBA F5C2                jsr        [PC - 0xA3E /* 00000364 */]
  1294. 00000DA4  4217                     clr.b      [A7]
  1295. 00000DA6  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1296. 00000DAA  2F0A                     move.l     -[A7], A2
  1297. 00000DAC  A8AD                     syscall    PtInRect
  1298. 00000DAE  4A1F                     tst.b      [A7]+
  1299. 00000DB0  548F                     addq.l     A7, 2
  1300. 00000DB2  670C                     beq        +0xE /* 00000DC0 */
  1301. 00000DB4  78FB                     moveq.l    D4, 0xFFFFFFFB
  1302. 00000DB6  D86E FFFA                add.w      D4, [A6 - 0x6]
  1303. 00000DBA  986A 0002                sub.w      D4, [A2 + 0x2]
  1304. 00000DBE  6002                     bra        +0x4 /* 00000DC2 */
  1305. label00000DC0:
  1306. 00000DC0  7800                     moveq.l    D4, 0x00
  1307. label00000DC2:
  1308. 00000DC2  4227                     clr.b      -[A7]
  1309. 00000DC4  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1310. 00000DC8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1311. 00000DCC  A881                     syscall    EqualPt
  1312. 00000DCE  4A1F                     tst.b      [A7]+
  1313. 00000DD0  663A                     bne        +0x3C /* 00000E0C */
  1314. 00000DD2  2D6E FFF8 FFFC           move.l     [A6 - 0x4], [A6 - 0x8]
  1315. 00000DD8  996E FFFA                sub.w      [A6 - 0x6], D4
  1316. 00000DDC  3F05                     move.w     -[A7], D5
  1317. 00000DDE  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1318. 00000DE2  2F0B                     move.l     -[A7], A3
  1319. 00000DE4  4EBA FD96                jsr        [PC - 0x26A /* 00000B7C */]
  1320. 00000DE8  3600                     move.w     D3, D0
  1321. 00000DEA  B66A 0002                cmp.w      D3, [A2 + 0x2]
  1322. 00000DEE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1323. 00000DF2  6718                     beq        +0x1A /* 00000E0C */
  1324. 00000DF4  7C01                     moveq.l    D6, 0x01
  1325. 00000DF6  2F0A                     move.l     -[A7], A2
  1326. 00000DF8  3003                     move.w     D0, D3
  1327. 00000DFA  906A 0002                sub.w      D0, [A2 + 0x2]
  1328. 00000DFE  3F00                     move.w     -[A7], D0
  1329. 00000E00  4267                     clr.w      -[A7]
  1330. 00000E02  A8A8                     syscall    OffsetRect
  1331. 00000E04  2F0B                     move.l     -[A7], A3
  1332. 00000E06  4EBA F55C                jsr        [PC - 0xAA4 /* 00000364 */]
  1333. 00000E0A  588F                     addq.l     A7, 4
  1334. label00000E0C:
  1335. 00000E0C  486E FFF8                pea.l      [A6 - 0x8]
  1336. 00000E10  A972                     syscall    GetMouse
  1337. 00000E12  4227                     clr.b      -[A7]
  1338. 00000E14  A973                     syscall    StillDown
  1339. 00000E16  4A1F                     tst.b      [A7]+
  1340. 00000E18  66A8                     bne        -0x56 /* 00000DC2 */
  1341. 00000E1A  422B 0011                clr.b      [A3 + 0x11]
  1342. 00000E1E  2F0B                     move.l     -[A7], A3
  1343. 00000E20  4EBA F542                jsr        [PC - 0xABE /* 00000364 */]
  1344. 00000E24  4A46                     tst.w      D6
  1345. 00000E26  588F                     addq.l     A7, 4
  1346. 00000E28  6714                     beq        +0x16 /* 00000E3E */
  1347. 00000E2A  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  1348. 00000E2E  2F0B                     move.l     -[A7], A3
  1349. 00000E30  4EBA FECA                jsr        [PC - 0x136 /* 00000CFC */]
  1350. 00000E34  3540 0010                move.w     [A2 + 0x10], D0
  1351. 00000E38  3740 0012                move.w     [A3 + 0x12], D0
  1352. 00000E3C  5C8F                     addq.l     A7, 6
  1353. label00000E3E:
  1354. 00000E3E  2047                     movea.l    A0, D7
  1355. 00000E40  2050                     movea.l    A0, [A0]
  1356. 00000E42  A02A                     syscall    HUnlock
  1357. label00000E44:
  1358. 00000E44  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  1359. 00000E48  4E5E                     unlink     A6
  1360. 00000E4A  4E75                     rts
  1361. fn00000E4C:
  1362. 00000E4C  4E56 FFFC                link       A6, -0x0004
  1363. 00000E50  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  1364. 00000E54  4227                     clr.b      -[A7]
  1365. 00000E56  42A7                     clr.l      -[A7]
  1366. 00000E58  486E FFFC                pea.l      [A6 - 0x4]
  1367. 00000E5C  AA42                     syscall    GetAuxWin
  1368. 00000E5E  4AAE FFFC                tst.l      [A6 - 0x4]
  1369. 00000E62  548F                     addq.l     A7, 2
  1370. 00000E64  677C                     beq        +0x7E /* 00000EE2 */
  1371. 00000E66  206E FFFC                movea.l    A0, [A6 - 0x4]
  1372. 00000E6A  2050                     movea.l    A0, [A0]
  1373. 00000E6C  2068 0008                movea.l    A0, [A0 + 0x8]
  1374. 00000E70  2650                     movea.l    A3, [A0]
  1375. 00000E72  3C2B 0006                move.w     D6, [A3 + 0x6]
  1376. 00000E76  BC6E 0008                cmp.w      D6, [A6 + 0x8]
  1377. 00000E7A  6C04                     bge        +0x6 /* 00000E80 */
  1378. 00000E7C  7000                     moveq.l    D0, 0x00
  1379. 00000E7E  6064                     bra        +0x66 /* 00000EE4 */
  1380. label00000E80:
  1381. 00000E80  7800                     moveq.l    D4, 0x00
  1382. 00000E82  3A04                     move.w     D5, D4
  1383. 00000E84  2E05                     move.l     D7, D5
  1384. 00000E86  48C7                     ext.l      D7
  1385. 00000E88  E78F                     lsl        D7, 3
  1386. 00000E8A  6034                     bra        +0x36 /* 00000EC0 */
  1387. label00000E8C:
  1388. 00000E8C  45F3 780A                lea.l      A2, [A3 + D7 + 0xA]
  1389. 00000E90  3612                     move.w     D3, [A2]
  1390. 00000E92  4A43                     tst.w      D3
  1391. 00000E94  6726                     beq        +0x28 /* 00000EBC */
  1392. 00000E96  4A6A 0002                tst.w      [A2 + 0x2]
  1393. 00000E9A  6720                     beq        +0x22 /* 00000EBC */
  1394. 00000E9C  4A6A 0004                tst.w      [A2 + 0x4]
  1395. 00000EA0  671A                     beq        +0x1C /* 00000EBC */
  1396. 00000EA2  0C43 FFFF                cmpi.w     D3, 0xFFFF
  1397. 00000EA6  6610                     bne        +0x12 /* 00000EB8 */
  1398. 00000EA8  0C6A FFFF 0002           cmpi.w     [A2 + 0x2], 0xFFFF
  1399. 00000EAE  6608                     bne        +0xA /* 00000EB8 */
  1400. 00000EB0  0C6A FFFF 0004           cmpi.w     [A2 + 0x4], 0xFFFF
  1401. 00000EB6  6704                     beq        +0x6 /* 00000EBC */
  1402. label00000EB8:
  1403. 00000EB8  5244                     addq.w     D4, 1
  1404. 00000EBA  6008                     bra        +0xA /* 00000EC4 */
  1405. label00000EBC:
  1406. 00000EBC  5245                     addq.w     D5, 1
  1407. 00000EBE  5087                     addq.l     D7, 8
  1408. label00000EC0:
  1409. 00000EC0  BC45                     cmp.w      D6, D5
  1410. 00000EC2  6EC8                     bgt        -0x36 /* 00000E8C */
  1411. label00000EC4:
  1412. 00000EC4  4A44                     tst.w      D4
  1413. 00000EC6  671A                     beq        +0x1C /* 00000EE2 */
  1414. 00000EC8  302E 0008                move.w     D0, [A6 + 0x8]
  1415. 00000ECC  48C0                     ext.l      D0
  1416. 00000ECE  E788                     lsl        D0, 3
  1417. 00000ED0  206E 000A                movea.l    A0, [A6 + 0xA]
  1418. 00000ED4  20B3 080A                move.l     [A0], [A3 + D0 + 0xA]
  1419. 00000ED8  3173 080E 0004           move.w     [A0 + 0x4], [A3 + D0 + 0xE]
  1420. 00000EDE  7001                     moveq.l    D0, 0x01
  1421. 00000EE0  6002                     bra        +0x4 /* 00000EE4 */
  1422. label00000EE2:
  1423. 00000EE2  7000                     moveq.l    D0, 0x00
  1424. label00000EE4:
  1425. 00000EE4  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  1426. 00000EE8  4E5E                     unlink     A6
  1427. 00000EEA  4E75                     rts
  1428. fn00000EEC:
  1429. 00000EEC  4E56 FFEE                link       A6, -0x0012
  1430. 00000EF0  607E                     bra        +0x80 /* 00000F70 */
  1431. 00000EF2  0005 0006                ori.b      D5, 0x6
  1432. 00000EF6  0000 0005                ori.b      D0, 0x5
  1433. 00000EFA  0006 0005                ori.b      D6, 0x5
  1434. 00000EFE  0005 0006                ori.b      D5, 0x6
  1435. 00000F02  0007 0005                ori.b      D7, 0x5
  1436. 00000F06  0006 0008                ori.b      D6, 0x8
  1437. 00000F0A  0005 0006                ori.b      D5, 0x6
  1438. 00000F0E  000A 0005                ori.b      A2, 0x5
  1439. 00000F12  0006 000D                ori.b      D6, 0xD /* '\r' */
  1440. 00000F16  0007 0008                ori.b      D7, 0x8
  1441. 00000F1A  0000 0007                ori.b      D0, 0x7
  1442. 00000F1E  0008 0001                ori.b      A0, 0x1
  1443. 00000F22  0007 0008                ori.b      D7, 0x8
  1444. 00000F26  0004 0009                ori.b      D4, 0x9 /* '\t' */
  1445. 00000F2A  000A 0000                ori.b      A2, 0x0
  1446. 00000F2E  0009 000A                ori.b      A1, 0xA /* '\n' */
  1447. 00000F32  0004 0009                ori.b      D4, 0x9 /* '\t' */
  1448. 00000F36  000A 0006                ori.b      A2, 0x6
  1449. 00000F3A  0009 000A                ori.b      A1, 0xA /* '\n' */
  1450. 00000F3E  000B 0009                ori.b      A3, 0x9 /* '\t' */
  1451. 00000F42  000A 000F                ori.b      A2, 0xF
  1452. 00000F46  0009 000A                ori.b      A1, 0xA /* '\n' */
  1453. 00000F4A  0000 0009                ori.b      D0, 0x9 /* '\t' */
  1454. 00000F4E  000A 0004                ori.b      A2, 0x4
  1455. 00000F52  0009 000A                ori.b      A1, 0xA /* '\n' */
  1456. 00000F56  0006 0009                ori.b      D6, 0x9 /* '\t' */
  1457. 00000F5A  000A 000B                ori.b      A2, 0xB
  1458. 00000F5E  000B 0008                ori.b      A3, 0x8
  1459. 00000F62  0000 000B                ori.b      D0, 0xB
  1460. 00000F66  000C 0004                ori.b      A4, 0x4
  1461. 00000F6A  0007 000C                ori.b      D7, 0xC
  1462. 00000F6E  000F 41FA                ori.b      A7, 0xFA
  1463. // begin alternate branch 00000F70-00000F74
  1464. label00000F70:
  1465. 00000F70  41FA FF80                lea.l      A0, [PC - 0x80 /* 00000EF2, value 0x50006 */]
  1466. // end alternate branch 00000F70-00000F74
  1467. label00000F70: // (misaligned)
  1468. 00000F72  FF80                     .extension 0xF80 // unimplemented
  1469. 00000F74  43EE FFFA                lea.l      A1, [A6 - 0x6]
  1470. 00000F78  2288                     move.l     [A1], A0
  1471. 00000F7A  046E 0010 0008           subi.w     [A6 + 0x8], 0x10
  1472. 00000F80  486E FFF4                pea.l      [A6 - 0xC]
  1473. 00000F84  7006                     moveq.l    D0, 0x06
  1474. 00000F86  C1EE 0008                muls.w     D0, [A6 + 0x8]
  1475. 00000F8A  D0AE FFFA                add.l      D0, [A6 - 0x6]
  1476. 00000F8E  2040                     movea.l    A0, D0
  1477. 00000F90  3F10                     move.w     -[A7], [A0]
  1478. 00000F92  4EBA FEB8                jsr        [PC - 0x148 /* 00000E4C */]
  1479. 00000F96  5C8F                     addq.l     A7, 6
  1480. 00000F98  4A40                     tst.w      D0
  1481. 00000F9A  676E                     beq        +0x70 /* 0000100A */
  1482. 00000F9C  486E FFEE                pea.l      [A6 - 0x12]
  1483. 00000FA0  7006                     moveq.l    D0, 0x06
  1484. 00000FA2  C1EE 0008                muls.w     D0, [A6 + 0x8]
  1485. 00000FA6  206E FFFA                movea.l    A0, [A6 - 0x6]
  1486. 00000FAA  3F30 0802                move.w     -[A7], [A0 + D0 + 0x2]
  1487. 00000FAE  4EBA FE9C                jsr        [PC - 0x164 /* 00000E4C */]
  1488. 00000FB2  5C8F                     addq.l     A7, 6
  1489. 00000FB4  4A40                     tst.w      D0
  1490. 00000FB6  6752                     beq        +0x54 /* 0000100A */
  1491. 00000FB8  7006                     moveq.l    D0, 0x06
  1492. 00000FBA  C1EE 0008                muls.w     D0, [A6 + 0x8]
  1493. 00000FBE  206E FFFA                movea.l    A0, [A6 - 0x6]
  1494. 00000FC2  3D70 0804 FFFE           move.w     [A6 - 0x2], [A0 + D0 + 0x4]
  1495. 00000FC8  342E FFFE                move.w     D2, [A6 - 0x2]
  1496. 00000FCC  48E7 0120                movem.l    -[A7], D7,A2
  1497. 00000FD0  41EE FFEE                lea.l      A0, [A6 - 0x12]
  1498. 00000FD4  43EE FFF4                lea.l      A1, [A6 - 0xC]
  1499. 00000FD8  246E 000A                movea.l    A2, [A6 + 0xA]
  1500. 00000FDC  C4FC                     mulu.w     D2, 0xFFFFFFFFFFFFFFFF
  1501. 00000FDE  1111                     move.b     -[A0], [A1]
  1502. 00000FE0  303C 0002                move.w     D0, 0x2
  1503. label00000FE4:
  1504. 00000FE4  7200                     moveq.l    D1, 0x00
  1505. 00000FE6  3218                     move.w     D1, [A0]+
  1506. 00000FE8  9251                     sub.w      D1, [A1]
  1507. 00000FEA  55C7                     scs        D7
  1508. 00000FEC  6402                     bcc        +0x4 /* 00000FF0 */
  1509. 00000FEE  4441                     neg.w      D1
  1510. label00000FF0:
  1511. 00000FF0  C2C2                     mulu.w     D1, D2
  1512. 00000FF2  4841                     swap.w     D1
  1513. 00000FF4  4A07                     tst.b      D7
  1514. 00000FF6  6702                     beq        +0x4 /* 00000FFA */
  1515. 00000FF8  4481                     neg.l      D1
  1516. label00000FFA:
  1517. 00000FFA  D259                     add.w      D1, [A1]+
  1518. 00000FFC  34C1                     move.w     [A2]+, D1
  1519. 00000FFE  51C8 FFE4                dbf        D0, -0x1E /* 00000FE4 */
  1520. 00001002  4CDF 0480                movem.l    D7,A2, [A7]+
  1521. 00001006  7001                     moveq.l    D0, 0x01
  1522. 00001008  6002                     bra        +0x4 /* 0000100C */
  1523. label0000100A:
  1524. 0000100A  7000                     moveq.l    D0, 0x00
  1525. label0000100C:
  1526. 0000100C  4E5E                     unlink     A6
  1527. 0000100E  4E75                     rts
  1528. fn00001010:
  1529. 00001010  225F                     movea.l    A1, [A7]+
  1530. 00001012  201F                     move.l     D0, [A7]+
  1531. 00001014  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1532. 0000101A  6606                     bne        +0x8 /* 00001022 */
  1533. 0000101C  A055                     syscall    StripAddress
  1534. 0000101E  2E80                     move.l     [A7], D0
  1535. 00001020  4ED1                     jmp        [A1]
  1536. label00001022:
  1537. 00001022  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1538. 00001026  2E80                     move.l     [A7], D0
  1539. 00001028  4ED1                     jmp        [A1]
  1540. fn0000102A:
  1541. 0000102A  206F 000C                movea.l    A0, [A7 + 0xC]
  1542. 0000102E  202F 0004                move.l     D0, [A7 + 0x4]
  1543. 00001032  A9E3                     syscall    PtrToHand
  1544. 00001034  3F40 0010                move.w     [A7 + 0x10], D0
  1545. 00001038  226F 0008                movea.l    A1, [A7 + 0x8]
  1546. 0000103C  2288                     move.l     [A1], A0
  1547. 0000103E  205F                     movea.l    A0, [A7]+
  1548. 00001040  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1549. 00001044  4ED0                     jmp        [A0]
  1550. 00001046  4EFA 001E                jmp        [PC + 0x1E /* 00001066 */]
  1551. 0000104A  4EFA 002E                jmp        [PC + 0x2E /* 0000107A */]
  1552. 0000104E  4EFA 003E                jmp        [PC + 0x3E /* 0000108E */]
  1553. fn00001052:
  1554. 00001052  4EFA 0056                jmp        [PC + 0x56 /* 000010AA */]
  1555. 00001056  4EFA 0088                jmp        [PC + 0x88 /* 000010E0 */]
  1556. 0000105A  4EFA 00A4                jmp        [PC + 0xA4 /* 00001100 */]
  1557. fn0000105E:
  1558. 0000105E  4EFA 00C2                jmp        [PC + 0xC2 /* 00001122 */]
  1559. fn00001062:
  1560. 00001062  4EFA 00DE                jmp        [PC + 0xDE /* 00001142 */]
  1561. label00001066:
  1562. 00001066  205F                     movea.l    A0, [A7]+
  1563. 00001068  3218                     move.w     D1, [A0]+
  1564. label0000106A:
  1565. 0000106A  3418                     move.w     D2, [A0]+
  1566. 0000106C  B058                     cmp.w      D0, [A0]+
  1567. 0000106E  57C9 FFFA                dbeq       D1, -0x8 /* 0000106A */
  1568. 00001072  4A42                     tst.w      D2
  1569. label00001074:
  1570. 00001074  67FE                     beq        -0x0 /* 00001074 */
  1571. 00001076  4EF0 20FC                jmp        [A0 + D2.w - 0x4]
  1572. label0000107A:
  1573. 0000107A  205F                     movea.l    A0, [A7]+
  1574. 0000107C  3218                     move.w     D1, [A0]+
  1575. label0000107E:
  1576. 0000107E  3418                     move.w     D2, [A0]+
  1577. 00001080  B098                     cmp.l      D0, [A0]+
  1578. 00001082  57C9 FFFA                dbeq       D1, -0x8 /* 0000107E */
  1579. 00001086  4A42                     tst.w      D2
  1580. label00001088:
  1581. 00001088  67FE                     beq        -0x0 /* 00001088 */
  1582. 0000108A  4EF0 20FA                jmp        [A0 + D2.w - 0x6]
  1583. label0000108E:
  1584. 0000108E  205F                     movea.l    A0, [A7]+
  1585. 00001090  3218                     move.w     D1, [A0]+
  1586. 00001092  3418                     move.w     D2, [A0]+
  1587. 00001094  B042                     cmp.w      D0, D2
  1588. 00001096  6E0A                     bgt        +0xC /* 000010A2 */
  1589. 00001098  9041                     sub.w      D0, D1
  1590. 0000109A  6D06                     blt        +0x8 /* 000010A2 */
  1591. 0000109C  D040                     add.w      D0, D0
  1592. 0000109E  41F0 0002                lea.l      A0, [A0 + D0.w + 0x2]
  1593. label000010A2:
  1594. 000010A2  3010                     move.w     D0, [A0]
  1595. label000010A4:
  1596. 000010A4  67FE                     beq        -0x0 /* 000010A4 */
  1597. 000010A6  4EF0 0000                jmp        [A0 + D0.w]
  1598. label000010AA:
  1599. 000010AA  202F 0004                move.l     D0, [A7 + 0x4]
  1600. 000010AE  2F41 0004                move.l     [A7 + 0x4], D1
  1601. 000010B2  222F 0008                move.l     D1, [A7 + 0x8]
  1602. 000010B6  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1603. 000010BA  48E7 3C00                movem.l    -[A7], D2,D3,D4,D5
  1604. 000010BE  2400                     move.l     D2, D0
  1605. 000010C0  2601                     move.l     D3, D1
  1606. 000010C2  4842                     swap.w     D2
  1607. 000010C4  C4C3                     mulu.w     D2, D3
  1608. 000010C6  2800                     move.l     D4, D0
  1609. 000010C8  2A01                     move.l     D5, D1
  1610. 000010CA  4845                     swap.w     D5
  1611. 000010CC  C8C5                     mulu.w     D4, D5
  1612. 000010CE  D444                     add.w      D2, D4
  1613. 000010D0  4842                     swap.w     D2
  1614. 000010D2  4242                     clr.w      D2
  1615. 000010D4  C0C1                     mulu.w     D0, D1
  1616. 000010D6  D082                     add.l      D0, D2
  1617. 000010D8  4CDF 003C                movem.l    D2,D3,D4,D5, [A7]+
  1618. 000010DC  221F                     move.l     D1, [A7]+
  1619. 000010DE  4E75                     rts
  1620. label000010E0:
  1621. 000010E0  202F 0004                move.l     D0, [A7 + 0x4]
  1622. 000010E4  2F41 0004                move.l     [A7 + 0x4], D1
  1623. 000010E8  222F 0008                move.l     D1, [A7 + 0x8]
  1624. 000010EC  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1625. 000010F0  48E7 3100                movem.l    -[A7], D2,D3,D7
  1626. 000010F4  4EBA 009C                jsr        [PC + 0x9C /* 00001192 */]
  1627. 000010F8  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1628. 000010FC  221F                     move.l     D1, [A7]+
  1629. 000010FE  4E75                     rts
  1630. label00001100:
  1631. 00001100  202F 0004                move.l     D0, [A7 + 0x4]
  1632. 00001104  2F41 0004                move.l     [A7 + 0x4], D1
  1633. 00001108  222F 0008                move.l     D1, [A7 + 0x8]
  1634. 0000110C  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1635. 00001110  48E7 3100                movem.l    -[A7], D2,D3,D7
  1636. 00001114  4EBA 007C                jsr        [PC + 0x7C /* 00001192 */]
  1637. 00001118  2001                     move.l     D0, D1
  1638. 0000111A  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1639. 0000111E  221F                     move.l     D1, [A7]+
  1640. 00001120  4E75                     rts
  1641. label00001122:
  1642. 00001122  202F 0004                move.l     D0, [A7 + 0x4]
  1643. 00001126  2F41 0004                move.l     [A7 + 0x4], D1
  1644. 0000112A  222F 0008                move.l     D1, [A7 + 0x8]
  1645. 0000112E  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1646. 00001132  48E7 3100                movem.l    -[A7], D2,D3,D7
  1647. 00001136  4EBA 002C                jsr        [PC + 0x2C /* 00001164 */]
  1648. 0000113A  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1649. 0000113E  221F                     move.l     D1, [A7]+
  1650. 00001140  4E75                     rts
  1651. label00001142:
  1652. 00001142  202F 0004                move.l     D0, [A7 + 0x4]
  1653. 00001146  2F41 0004                move.l     [A7 + 0x4], D1
  1654. 0000114A  222F 0008                move.l     D1, [A7 + 0x8]
  1655. 0000114E  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1656. 00001152  48E7 3100                movem.l    -[A7], D2,D3,D7
  1657. 00001156  4EBA 000C                jsr        [PC + 0xC /* 00001164 */]
  1658. 0000115A  2001                     move.l     D0, D1
  1659. 0000115C  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1660. 00001160  221F                     move.l     D1, [A7]+
  1661. 00001162  4E75                     rts
  1662. fn00001164:
  1663. 00001164  4A80                     tst.l      D0
  1664. 00001166  6A1C                     bpl        +0x1E /* 00001184 */
  1665. 00001168  4A81                     tst.l      D1
  1666. 0000116A  6A0C                     bpl        +0xE /* 00001178 */
  1667. 0000116C  4480                     neg.l      D0
  1668. 0000116E  4481                     neg.l      D1
  1669. 00001170  4EBA 0020                jsr        [PC + 0x20 /* 00001192 */]
  1670. 00001174  4481                     neg.l      D1
  1671. 00001176  4E75                     rts
  1672. label00001178:
  1673. 00001178  4480                     neg.l      D0
  1674. 0000117A  4EBA 0016                jsr        [PC + 0x16 /* 00001192 */]
  1675. 0000117E  4480                     neg.l      D0
  1676. 00001180  4481                     neg.l      D1
  1677. 00001182  4E75                     rts
  1678. label00001184:
  1679. 00001184  4A81                     tst.l      D1
  1680. 00001186  6A0A                     bpl        +0xC /* 00001192 */
  1681. 00001188  4481                     neg.l      D1
  1682. 0000118A  4EBA 0006                jsr        [PC + 0x6 /* 00001192 */]
  1683. 0000118E  4480                     neg.l      D0
  1684. 00001190  4E75                     rts
  1685. fn00001192:
  1686. 00001192  2E3C 0000 FFFF           move.l     D7, 0xFFFF
  1687. 00001198  B280                     cmp.l      D1, D0
  1688. 0000119A  6306                     bls        +0x8 /* 000011A2 */
  1689. 0000119C  2200                     move.l     D1, D0
  1690. 0000119E  7000                     moveq.l    D0, 0x00
  1691. 000011A0  4E75                     rts
  1692. label000011A2:
  1693. 000011A2  B087                     cmp.l      D0, D7
  1694. 000011A4  620C                     bhi        +0xE /* 000011B2 */
  1695. 000011A6  80C1                     divu.w     D0, D1
  1696. 000011A8  4840                     swap.w     D0
  1697. 000011AA  3200                     move.w     D1, D0
  1698. 000011AC  4240                     clr.w      D0
  1699. 000011AE  4840                     swap.w     D0
  1700. 000011B0  4E75                     rts
  1701. label000011B2:
  1702. 000011B2  B287                     cmp.l      D1, D7
  1703. 000011B4  621A                     bhi        +0x1C /* 000011D0 */
  1704. 000011B6  2E00                     move.l     D7, D0
  1705. 000011B8  4240                     clr.w      D0
  1706. 000011BA  4840                     swap.w     D0
  1707. 000011BC  80C1                     divu.w     D0, D1
  1708. 000011BE  4840                     swap.w     D0
  1709. 000011C0  4847                     swap.w     D7
  1710. 000011C2  3E00                     move.w     D7, D0
  1711. 000011C4  4847                     swap.w     D7
  1712. 000011C6  8EC1                     divu.w     D7, D1
  1713. 000011C8  3007                     move.w     D0, D7
  1714. 000011CA  4847                     swap.w     D7
  1715. 000011CC  3207                     move.w     D1, D7
  1716. 000011CE  4E75                     rts
  1717. label000011D0:
  1718. 000011D0  2400                     move.l     D2, D0
  1719. 000011D2  2601                     move.l     D3, D1
  1720. label000011D4:
  1721. 000011D4  E288                     lsr        D0, 1
  1722. 000011D6  E289                     lsr        D1, 1
  1723. 000011D8  B287                     cmp.l      D1, D7
  1724. 000011DA  62F8                     bhi        -0x6 /* 000011D4 */
  1725. 000011DC  80C1                     divu.w     D0, D1
  1726. 000011DE  C087                     and.l      D0, D7
  1727. label000011E0:
  1728. 000011E0  3203                     move.w     D1, D3
  1729. 000011E2  C2C0                     mulu.w     D1, D0
  1730. 000011E4  2E03                     move.l     D7, D3
  1731. 000011E6  4847                     swap.w     D7
  1732. 000011E8  CEC0                     mulu.w     D7, D0
  1733. 000011EA  4847                     swap.w     D7
  1734. 000011EC  D287                     add.l      D1, D7
  1735. 000011EE  6508                     bcs        +0xA /* 000011F8 */
  1736. 000011F0  9282                     sub.l      D1, D2
  1737. 000011F2  6204                     bhi        +0x6 /* 000011F8 */
  1738. 000011F4  4481                     neg.l      D1
  1739. 000011F6  4E75                     rts
  1740. label000011F8:
  1741. 000011F8  5340                     subq.w     D0, 1
  1742. 000011FA  60E4                     bra        -0x1A /* 000011E0 */
  1743.